downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

pg_update> <pg_unescape_bytea
[edit] Last updated: Fri, 25 May 2012

view this page in

pg_untrace

(PHP 4 >= 4.0.1, PHP 5)

pg_untraceBeendet die Ablaufverfolgung einer PostgreSQL-Verbindung

Beschreibung

bool pg_untrace ([ resource $connection ] )

Beendet die Ablaufverfolgung, die mit pg_trace() aktiviert wurde.

Parameter-Liste

connection

PostgreSQL Verbindungkennung. Falls connection nicht angegeben wurde, wird die zuletzt mit pg_connect() oder pg_pconnect() geöffnete Verbindung benutzt.

Rückgabewerte

Always returns TRUE.

Beispiele

Beispiel #1 pg_untrace() Beipiel

<?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);
   
// Jetzt ist die Ablaufverfolgung beendet
} else {
   print 
pg_last_error($pgsql_conn);
   exit;
}
?>

Siehe auch

  • pg_trace() - Ermöglicht die Ablaufverfolgung einer Verbindung



add a note add a note User Contributed Notes pg_untrace
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites