pg_connection_busy()
pg_connection_busy - Get connection is busy or not
Syntax
bool pg_connection_busy (
resource $connection)
Arguments
- connection - PostgreSQL database connection resource.
Description
pg_connection_busy() determines whether or not a connection is busy. If it is busy, a previous query is still executing. If pg_get_result() is used on the connection, it will be blocked.
Version
PHP 4.2.0, 5
Return value
Returns TRUE if the connection is busy, FALSE otherwise.