pg_connect_poll
pg_connect_poll
Poll the status of an in-progress asynchronous PostgreSQL connection attempt
int **pg_connect_poll** PgSql\Connection $connection
polls the status of a PostgreSQL
connection created by calling with the
option.
pg_connect_poll``pg_connect``PGSQL_CONNECT_ASYNC
connection
Returns ,
,
,
, or
.
PGSQL_POLLING_FAILED``PGSQL_POLLING_READING``PGSQL_POLLING_WRITING``PGSQL_POLLING_OK``PGSQL_POLLING_ACTIVE