pg_connect_poll

Supported Versions: PHP 5 >= 5.6.0, PHP 7, PHP 8
Poll the status of an in-progress asynchronous PostgreSQL connection attempt
<?php pg_connect_poll(PgSql\Connection $connection): int