Re: Deprecating RULES

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Deprecating RULES
Дата
Msg-id 507EED61.5040402@agliodbs.com
обсуждение исходный текст
Ответ на Re: Deprecating RULES  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: Deprecating RULES
Список pgsql-hackers
All,

For the record, I like RULEs and would prefer if someone fixed the
issues with them instead of deprecating them.  However, I also
acknowledge that that is unlikely to happen.

> Would you or someone else be able to come up with some words of
> caution for us to put in the manual that would be helpful to
> developers?

We could start with:

=================

Warning: RULEs are tricky to use correctly and difficult to understand,
even for users with a lot of PostgreSQL experience.  For most purposes,
you want a trigger<link> and not a RULE.  It is also likely that the
RULEs feature will be deprecated in some future release of PostgreSQL
when all RULE functionality can be replaced by other mechanisms.

The PostgreSQL Project recommends that you use Triggers<link> instead of
RULEs unless you have a specific reason to use RULEs.

==================

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: Deprecating RULES
Следующее
От: Greg Stark
Дата:
Сообщение: Re: Deprecating RULES