Query: pg_untrace
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PG_UNTRACE(3) PG_UNTRACE(3) pg_untrace - Disable tracing of a PostgreSQL connectionSYNOPSISbool pg_untrace ([resource $connection])DESCRIPTIONStop tracing started by pg_trace(3).PARAMETERSo $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(3) or pg_pconnect(3).RETURN VALUESAlways returns TRUE.EXAMPLESExample #1 pg_untrace(3) example <?php $pgsql_conn = pg_connect("dbname=mark host=localhost"); if ($pgsql_conn) { pg_trace('/tmp/trace.log', 'w', $pgsql_conn); pg_query("SELECT 1"); pg_untrace($pgsql_conn); // Now tracing of backend communication is disabled } else { print pg_last_error($pgsql_conn); exit; } ?>SEE ALSOpg_trace(3). PHP Documentation Group PG_UNTRACE(3)
Related Man Pages |
---|
pg_close(3) - php |
pg_last_error(3) - php |
pg_lo_export(3) - php |
pg_lo_open(3) - php |
pg_version(3) - php |
Similar Topics in the Unix Linux Community |
---|
Simple rules of the UNIX.COM forums: |
User Guide: Posting in the Emergency Forum |
UNIX.COM 2017 Year End Summary |
Please Welcome Ravinder Singh to the Moderation Team |