update : 2015.11.03
php.shukuma.com

검색:
 
 
Poll the status of an in-progress asynchronous PostgreSQL connection attempt.

pg_connect_poll

(PHP 5 >= 5.6.0)

pg_connect_poll Poll the status of an in-progress asynchronous PostgreSQL connection attempt.

설명

int pg_connect_poll ([ resource $connection ] )

pg_connect_poll() polls the status of a PostgreSQL connection created by calling pg_connect() with the PGSQL_CONNECT_ASYNC option.

인수

connection

PostgreSQL database connection resource.

반환값

Returns PGSQL_POLLING_FAILED, PGSQL_POLLING_READING, PGSQL_POLLING_WRITING, PGSQL_POLLING_OK, or PGSQL_POLLING_ACTIVE.