git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c93d873)
doc: Change recommendation to put NOTIFY into a rule
Wed, 3 Aug 2016 16:29:15 +0000 (12:29 -0400)
Wed, 3 Aug 2016 16:29:15 +0000 (12:29 -0400)
Suggest a statement trigger instead.


diff --git a/doc/src/sgml/ref/notify.sgml b/doc/src/sgml/ref/notify.sgml
index 4dd560838b19111bdc48975fa0665f7941b63ee3..3389aa055ca97ae54c839bfafb64c94ecd053485 100644 (file)
--- a/doc/src/sgml/ref/notify.sgml
+++ b/doc/src/sgml/ref/notify.sgml
@@ -68,7 +68,7 @@ NOTIFY <replaceable class="PARAMETER">channel</replaceable> [ , <replaceable cla
<para>
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.
+ <command>NOTIFY</command> in a statement trigger that is triggered by table updates.
In this way, notification happens automatically when the table is changed,
and the application programmer cannot accidentally forget to do it.
</para>
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /