pg_connect_poll

(PHP 5 >= 5.6.0, PHP 7, PHP 8)

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

Descrição

pg_connect_poll(PgSql\Connection$connection): int

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

Parâmetros

connection

Uma instância de PgSql\Connection.

Registro de Alterações

VersãoDescrição
8.1.0 O parâmetro connection agora espera uma instância de PgSql\Connection; anteriormente, um resource era esperado.
To Top