Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: pg_untrace - Manual
[go: Go Back, main page]

PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<pg_unescape_byteapg_update" width="11" height="7"/>
view the version of this page
Last updated: Sun, 07 May 2006

pg_untrace

(PHP 4 >= 4.0.1, PHP 5)

pg_untrace -- PostgreSQL 接続のトレースを無効にする

説明

bool pg_untrace ( [resource connection] )

pg_trace() で開始したトレースを停止します。

パラメータ

connection

PostgreSQL データベース接続リソース。connection が指定されていない場合はデフォルトの接続が使用されます。 デフォルトの接続は、直近の pg_connect() あるいは pg_pconnect() によって作成されたものです。

返り値

Always returns TRUE.

例 1. pg_untrace() の例

<?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);
  
// バックエンド通信のトレースを無効にする
} else {
   print
pg_last_error($pgsql_conn);
   exit;
}
?>

参考

pg_trace()



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

<pg_unescape_byteapg_update" width="11" height="7"/>
 Last updated: Sun, 07 May 2006
show source | credits | sitemap | contact | advertising | mirror sites 
Copyright © 2001-2006 The PHP Group
All rights reserved.
This mirror generously provided by: PacketBusiness, Inc.
Last updated: Wed Jun 28 13:19:26 2006 JST