Index: func.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql-server/doc/src/sgml/func.sgml,v
retrieving revision 1.209
diff -c -c -r1.209 func.sgml
*** func.sgml	16 Jun 2004 01:26:36 -0000	1.209
--- func.sgml	20 Jun 2004 17:31:09 -0000
***************
*** 7406,7411 ****
--- 7406,7456 ----
      columns do not have OIDs of their own.
     </para>

+    <indexterm zone="functions-misc">
+     <primary>pg_cancel_backend</primary>
+    </indexterm>
+
+    <indexterm zone="functions-misc">
+     <primary>pg_terminate_backend</primary>
+    </indexterm>
+
+    <indexterm zone="functions-misc">
+     <primary>signal</primary>
+     <secondary sortas="backend">backend processes</secondary>
+    </indexterm>
+
+    <table id="functions-misc-signal-table">
+     <title>Backend Signalling Functions</title>
+     <tgroup cols="3">
+      <thead>
+       <row><entry>Name</entry> <entry>Return Type</entry> <entry>Description</entry>
+       </row>
+      </thead>
+
+      <tbody>
+       <row>
+        <entry>
+ 	<literal><function>pg_cancel_backend</function>(<parameter>pid</parameter>)</literal>
+ 	</entry>
+        <entry><type>int</type></entry>
+        <entry>Cancel a query currently running on a backend</entry>
+       </row>
+       <row>
+        <entry>
+ 	<literal><function>pg_terminate_backend</function>(<parameter>pid</parameter>)</literal>
+        </entry>
+        <entry><type>int</type></entry>
+        <entry>Terminte a backend process</entry>
+       </row>
+      </tbody>
+     </tgroup>
+    </table>
+
+    <para>
+     The <literal>pid</literal> of active backends can be retreived using the
+     <literal>procpid</literal> column in the <literal>pg_stat_activity</literal>
+     view, or by listing the postgres processes on the server.
+    </para>
    </sect1>

   <sect1 id="functions-array">
