Query: pg_connection_reset
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PG_CONNECTION_RESET(3) PG_CONNECTION_RESET(3) pg_connection_reset - Reset connection (reconnect)SYNOPSISbool pg_connection_reset (resource $connection)DESCRIPTIONpg_connection_reset(3) resets the connection. It is useful for error recovery.PARAMETERSo $connection - PostgreSQL database connection resource.RETURN VALUESReturns TRUE on success or FALSE on failure.EXAMPLESExample #1 pg_connection_reset(3) example <?php $dbconn = pg_connect("dbname=publisher") or die("Could not connect"); $dbconn2 = pg_connection_reset($dbconn); if ($dbconn2) { echo "reset successful "; } else { echo "reset failed "; } ?>SEE ALSOpg_connect(3), pg_pconnect(3), pg_connection_status(3). PHP Documentation Group PG_CONNECTION_RESET(3)
Related Man Pages |
---|
pg_send_execute(3) - php |
pg_cancel_query(3) - php |
pg_host(3) - php |
pg_last_error(3) - php |
pg_send_query(3) - php |
Similar Topics in the Unix Linux Community |
---|
Rules for Homework & Coursework Questions Forum |
UNIX.COM 2017 Year End Summary |
Status of UNIX.COM Forum Transformation |
Denial Of Service Attack Update |