Re: Rules going away (was: [Solved] Generic logging system for pre-hstore using plperl triggers)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Rules going away (was: [Solved] Generic logging system for pre-hstore using plperl triggers)
Дата
Msg-id 19244.1317220472@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Rules going away (was: [Solved] Generic logging system for pre-hstore using plperl triggers)  (Andrew Sullivan <ajs@crankycanuck.ca>)
Ответы Re: Rules going away (was: [Solved] Generic logging system for pre-hstore using plperl triggers)
Re: Rules going away
Список pgsql-general
Andrew Sullivan <ajs@crankycanuck.ca> writes:
> On Wed, Sep 28, 2011 at 06:20:04AM -0700, David Fetter wrote:
>> There's an even better reason not to use rules: they're going away in
>> a not too distant version of PostgreSQL.

> Really?  How?  I thought views were done using rules under the hood?

> Also, it'd be awfully nice if, in case rules are going away, the
> documentation actually said prominently in the rules section, "Rules
> are deprecated and are planned to be removed at some point in the
> future."  Right now, anyone coming to Postgres for the first time
> could easily understand the manual to say that Postgres has this cool
> feature on which they can rely.

I think the true state of affairs is this: rules have a lot of
surprising behaviors, and if we could think of something that works more
straightforwardly, we'd love to replace them.  But I think we'd have to
have the "something" in place before we consider deprecating rules.
At the moment we don't even have a glimmer of a design, so David's
statement is many years premature.

            regards, tom lane

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

Предыдущее
От: Andrew Sullivan
Дата:
Сообщение: Rules going away (was: [Solved] Generic logging system for pre-hstore using plperl triggers)
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: Rules going away (was: [Solved] Generic logging system for pre-hstore using plperl triggers)