GoLang PDO::pgsqlGetNotify

request it (219)
GoLang replacement for PHP's PDO::pgsqlGetNotify [edit | history]

Do you know a GoLang replacement for PHP's PDO::pgsqlGetNotify? Write it!

PHP PDO::pgsqlGetNotify

PHP original manual for PDO::pgsqlGetNotify [ show | php.net ]


(PHP 5 >= 5.6.0, PHP 7)

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.



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


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

Return Values

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