summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Haas2010-05-18 02:28:53 +0000
committerRobert Haas2010-05-18 02:28:53 +0000
commit11f2efd12ac134d82d75255750c6bad685f05686 (patch)
tree8f94a0d35adc2499843c7368e89661adde62fb43
parent91e01e21a2b40b748d49c53d85b0206f2aac8b4c (diff)
Move pg_notify() details to a subsection within the NOTIFY reference page.
This allows the index to reference the pg_notify() subsection specifically, rather than Notes section of the NOTIFY reference page more generally. Fujii Masao
-rw-r--r--doc/src/sgml/ref/notify.sgml31
1 files changed, 18 insertions, 13 deletions
diff --git a/doc/src/sgml/ref/notify.sgml b/doc/src/sgml/ref/notify.sgml
index 33b491e1e7..ccdbe3da51 100644
--- a/doc/src/sgml/ref/notify.sgml
+++ b/doc/src/sgml/ref/notify.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/notify.sgml,v 1.34 2010/04/03 07:23:01 petere Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/notify.sgml,v 1.35 2010/05/18 02:28:53 rhaas Exp $
PostgreSQL documentation
-->
@@ -152,18 +152,6 @@ NOTIFY <replaceable class="PARAMETER">channel</replaceable> [ , <replaceable cla
<refsect1>
<title>Notes</title>
- <indexterm>
- <primary>pg_notify</primary>
- </indexterm>
-
- <para>
- To send a notification you can also use the function
- <literal><function>pg_notify</function>(<type>text</type>,
- <type>text</type>)</literal>. The function takes the channel name as the
- first argument and the payload as the second. The function is much easier
- to use than the <command>NOTIFY</command> command if you need to work with
- non-constant channel names and payloads.
- </para>
<para>
There is a queue that holds notifications that have been sent but not
yet processed by all listening sessions. If this queue becomes full,
@@ -180,6 +168,23 @@ NOTIFY <replaceable class="PARAMETER">channel</replaceable> [ , <replaceable cla
A transaction that has executed <command>NOTIFY</command> cannot be
prepared for two-phase commit.
</para>
+
+ <refsect2>
+ <title>pg_notify</title>
+
+ <indexterm>
+ <primary>pg_notify</primary>
+ </indexterm>
+
+ <para>
+ To send a notification you can also use the function
+ <literal><function>pg_notify</function>(<type>text</type>,
+ <type>text</type>)</literal>. The function takes the channel name as the
+ first argument and the payload as the second. The function is much easier
+ to use than the <command>NOTIFY</command> command if you need to work with
+ non-constant channel names and payloads.
+ </para>
+ </refsect2>
</refsect1>
<refsect1>