Commit 69bdfc40 authored by Peter Eisentraut's avatar Peter Eisentraut

doc: Change recommendation to put NOTIFY into a rule

Suggest a statement trigger instead.
parent c93d8737
...@@ -68,7 +68,7 @@ NOTIFY <replaceable class="PARAMETER">channel</replaceable> [ , <replaceable cla ...@@ -68,7 +68,7 @@ NOTIFY <replaceable class="PARAMETER">channel</replaceable> [ , <replaceable cla
<para> <para>
When <command>NOTIFY</command> is used to signal the occurrence of changes When <command>NOTIFY</command> is used to signal the occurrence of changes
to a particular table, a useful programming technique is to put the to a particular table, a useful programming technique is to put the
<command>NOTIFY</command> in a rule that is triggered by table updates. <command>NOTIFY</command> in a statement trigger that is triggered by table updates.
In this way, notification happens automatically when the table is changed, In this way, notification happens automatically when the table is changed,
and the application programmer cannot accidentally forget to do it. and the application programmer cannot accidentally forget to do it.
</para> </para>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment