+ linkend="functions-misc-signal-table"> send control signals to
+ other server processes. Use of these functions is restricted
+ to superusers.
+
+
+
+
Backend Signalling Functions
+
+
+ Name Return Type Description
+
+
+
+
+ |
+
+
+ int
+ Cancel a backend's current query
+
+ |
+
+
pg_terminate_backend(pid)
+
+ int
+ Terminate a backend process
+
+
+
+
+
+ These functions return 1 if successful, 0 if not successful.
+ The process ID (pid) of an active backend can be found
+ from the procpid column in the
+ pg_stat_activity view, or by listing the postgres
+ processes on the server.
+