pg_close()
pg_close - Closes a PostgreSQL connection
Syntax
bool pg_close (
resource $connection)
Arguments
- connection - PostgreSQL database connection resource. When connection is not present, the default connection is used. The default connection is the last connection made by pg_connect() or pg_pconnect().
Description
pg_close() closes the non-persistent connection to a PostgreSQL database associated with the given connection resource.
Version
PHP 4, 5
Return value
Returns TRUE on success or FALSE on failure.