导航首页 » 技术教程 » PHP:pg_connect_poll()的用法_PostgreSQL函数
全站头部文字 我要出现在这里
PHP:pg_connect_poll()的用法_PostgreSQL函数 354 2023-12-12   

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.


!!!站长长期在线接!!!

网站、小程序:定制开发/二次开发/仿制开发等

各种疑难杂症解决/定制接口/定制采集等

站长微信:lxwl520520

站长QQ:1737366103