(PHP 5 >= 5.6.0, PHP 7)
pg_connect_poll — Test le statut d'une tentative de connexion asynchrone PostgreSQL en cours
$connection
  ] )
   La fonction pg_connect_poll() teste le statut d'une connexion
   PostgreSQL créée en appelant la fonction pg_connect() avec
   l'option PGSQL_CONNECT_ASYNC.
  
connectionRessource de connexion à la base de données PostgreSQL.
   Retourne la constante PGSQL_POLLING_FAILED,
   PGSQL_POLLING_READING,
   PGSQL_POLLING_WRITING,
   PGSQL_POLLING_OK, ou la constante
   PGSQL_POLLING_ACTIVE.