Re: Loging of postgres requests

From: Adrian Klaver <aklaver(at)comcast(dot)net>
To: pgsql-general(at)postgresql(dot)org
Cc: Dave Potts <dave(dot)potts(at)pinan(dot)co(dot)uk>
Subject: Re: Loging of postgres requests
Date: 2008-03-15 22:58:47
Message-ID: 200803151558.47346.aklaver@comcast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Saturday 15 March 2008 2:29 pm, Dave Potts wrote:
> I am using a 3rd front end to generate postgres requests , its reportng
> an error with the database.
>
> Is there anyway of loging which sql requests the application is actual
> sending to postgres. I need to known if the error is being created by
> the application generating invalid SQL or if there is a problem with the
> desgin of the database tables.
>
> Dave.
See:
http://www.postgresql.org/docs/8.2/interactive/runtime-config-logging.html
In particular you will want to set log_statement to 'all' to see the SQL.
--
Adrian Klaver
aklaver(at)comcast(dot)net

In response to

Browse pgsql-general by date

  From Date Subject
Next Message mark 2008-03-15 23:21:31 how to make this database / query faster
Previous Message Dave Potts 2008-03-15 21:29:14 Loging of postgres requests