|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42340 pg_trace does not work
Submitted: 2007-08-19 10:32 UTC Modified: 2008-01-02 11:54 UTC
From: Assigned:
Status: Wont fix Package: PostgreSQL related
PHP Version: 4.4.7 OS: Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2007-08-19 10:32 UTC]
pg_trace does not work.

PostgreSQL: 8.2.4

Reproduce code:
$ createdb testdb
$ psql -d testdb
testdb=> create table test_tbl (id serial, val text);

$dbconn = pg_connect("dbname=testdb");
$sql = "insert into test_tbl (val) values ('aaaaaaaaaaa')";
$result = pg_query($dbconn, $sql);

Expected result:
something trace information in /tmp/pg_trace.log

Actual result:
$ cat /tmp/pg_trace.log
$ (empty)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-01-02 11:54 UTC]
Works in PHP 5.x, won't fix in 4.x as this as now reached "end of life"
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Sep 25 04:03:37 2021 UTC