NOTIFY man page still recommends rules

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема NOTIFY man page still recommends rules
Дата
Msg-id 913aa238-04c7-a75f-28e6-8845119eb3df@2ndquadrant.com
обсуждение исходный текст
Ответы Re: NOTIFY man page still recommends rules  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-docs
The NOTIFY man page writes

   When <command>NOTIFY</command> is used to signal the occurrence of
changes
   to a particular table, a useful programming technique is to put the
   <command>NOTIFY</command> in a rule that is triggered by table updates.

Is using rules here still best practice?  This was probably written
before statement triggers were available.

Even if yes, we might want to explain why, since we generally discourage
rule use otherwise.

--
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_rewind confusion
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: NOTIFY man page still recommends rules