update : 2015.11.03
php.shukuma.com

검색:
 
 
Get asynchronous notification

PDO::pgsqlGetNotify

(PHP 5 >= 5.6.0)

PDO::pgsqlGetNotifyGet asynchronous notification

설명

public array PDO::pgsqlGetNotify ([ int $result_type = PDO::FETCH_USE_DEFAULT [, int $ms_timeout = 0 ]] )

Returns a result set representing a pending asynchronous notification.

인수

result_type

The format the result set should be returned as, represented as a PDO::FETCH_* constant.

ms_timeout

The length of time to wait for a response, in milliseconds.

반환값

If one or more notifications is pending, returns a single row, with fields message and pid, otherwise returns FALSE.