Skip site navigation (1) Skip section navigation (2)

Re: Is there a trace facility for postgres/php?

From: "Guido Barosio" <gbarosio(at)gmail(dot)com>
To: "Mary Anderson" <maryfran(at)demog(dot)berkeley(dot)edu>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Is there a trace facility for postgres/php?
Date: 2008-05-09 16:58:40
Message-ID: (view raw or whole thread)
Lists: pgsql-novice

    Try this function pg_last_error() :


On Fri, May 9, 2008 at 1:20 PM, Mary Anderson
<maryfran(at)demog(dot)berkeley(dot)edu> wrote:
> Hi all,
>   I am writing a php/postgres application.  I have been printing out
> commands and errors at each step of the way.  In the past I have used a
> trace facility to find out what the last SQL command the database ran. Is
> such a thing available in php/postgres?  I know how to get the most recent
> SQL error on a connection and print it out.
> Thanks
> Mary
> --
> Sent via pgsql-novice mailing list (pgsql-novice(at)postgresql(dot)org)
> To make changes to your subscription:

Guido Barosio

In response to

pgsql-novice by date

Next:From: Ryan D. E nosDate: 2008-05-09 17:11:03
Subject: optimizing simple math operator
Previous:From: Mary AndersonDate: 2008-05-09 16:20:40
Subject: Is there a trace facility for postgres/php?

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group