From e41729aa5f5abe01bd2f0731e69b787801491060 Mon Sep 17 00:00:00 2001 From: Yasuo Ohgaki Date: Fri, 18 Oct 2002 10:25:55 +0000 Subject: [PATCH] Added new functions git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@100137 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/pgsql/functions/pg-get-notify.xml | 72 +++++++++++++++++++++ reference/pgsql/functions/pg-get-pid.xml | 63 ++++++++++++++++++ 2 files changed, 135 insertions(+) create mode 100644 reference/pgsql/functions/pg-get-notify.xml create mode 100644 reference/pgsql/functions/pg-get-pid.xml diff --git a/reference/pgsql/functions/pg-get-notify.xml b/reference/pgsql/functions/pg-get-notify.xml new file mode 100644 index 0000000000..aa8d5c8792 --- /dev/null +++ b/reference/pgsql/functions/pg-get-notify.xml @@ -0,0 +1,72 @@ + + + + + pg_get_notify + Ping database connection + + + Description + + arraypg_get_notify + resourceconnection + intresult_type + + + pg_get_notify gets notify message sent by + NOTIFY SQL command. To recieve nofigy + messages, LISTEN SQL command must be + issued. If there is notify message on the connection, array + contains message name and backend PID is returned. If there is no + message, &false; is returned. + + + See also pg_get_pid + + + + PostgreSQL NOTIFY message + + +]]> + + + + + + + diff --git a/reference/pgsql/functions/pg-get-pid.xml b/reference/pgsql/functions/pg-get-pid.xml new file mode 100644 index 0000000000..9ca5d5dedc --- /dev/null +++ b/reference/pgsql/functions/pg-get-pid.xml @@ -0,0 +1,63 @@ + + + + + pg_get_pid + Ping database connection + + + Description + + intpg_get_pid + resourceconnection + + + pg_get_pid gets backend (database server + process) PID. PID is useful to check if NOTIFY + message is sent from other process or not. + + + See also pg_get_notify + + + + PostgreSQL backend PID + + +]]> + + + + + + +