function pg get notify

pg_get_notifyPodręcznik PHPPoprzedniNastępnypg_get_notify (PHP 4 >= 4.3.0)pg_get_notify -- Ping database connectionDescriptionarray pg_get_notify ( resource connection [, int result_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() Przykład 1. PostgreSQL NOTIFY message<?php $conn = pg_pconnect ("dbname=publisher"); if (!$conn) { echo "An error occured.\n"; exit; } // Listen 'author_updated' message from other processes pq_query($conn, 'LISTEN author_updated;'); $notify = pg_get_notify($conn); if (!$notify) print("No messages\n"); else print_r($notify); ?> PoprzedniSpis treściNastępnypg_free_resultPoczątek rozdziałupg_get_pid
Wyszukiwarka

Podobne podstrony:
function pg get result
function pg get result
function pg get pid
function domnode get content
function pg copy to
function pg fetch object
function imap get quota
function openssl get privatekey
function pg host
function fdf get file
function snmp get quick print
function yp get default domain
function mssql get last message
function pdf get value
function pg ping
function pg connection status
function shm get var

więcej podobnych podstron