pg_untrace(3) php man page | unix.com

Man Page: pg_untrace

Operating Environment: php

Section: 3

PG_UNTRACE(3)															     PG_UNTRACE(3)

pg_untrace - Disable tracing of a PostgreSQL connection

SYNOPSIS
bool pg_untrace ([resource $connection])
DESCRIPTION
Stop tracing started by pg_trace(3).
PARAMETERS
o $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 VALUES
Always returns TRUE.
EXAMPLES
Example #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 ALSO
pg_trace(3). PHP Documentation Group PG_UNTRACE(3)
Related Man Pages
pg_last_notice(3) - php
pg_host(3) - php
pg_lo_open(3) - php
pg_lo_unlink(3) - php
pg_version(3) - php
Similar Topics in the Unix Linux Community
New Code Tags (Syntax Highlighting)
Please Welcome Ravinder Singh to the Moderation Team
Denial Of Service Attack Update
Please Welcome Nicki Paul to the Moderator Team!