Re: Loging of postgres requests

From: Dave Potts <dave(dot)potts(at)pinan(dot)co(dot)uk>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Loging of postgres requests
Date: 2008-03-16 01:39:12
Message-ID: 47DC7A40.5010001@pinan.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks everbody I have isolated the issue

Davel,

Terry Fielder wrote:
> You can turn up the verbosity of postgres logger to log all SQL
> statements. Look in postgresql.conf
>
> In particular, you can set postgres to log statements that take over x
> milliseconds to execute. If you set log_min_duration_statement to 0,
> then it will log ALL statements, which could also give you what you
> want if you want to see all SQL statements.
>
> Terry
>
> Terry Fielder
> terry(at)greatgulfhomes(dot)com
> Associate Director Software Development and Deployment
> Great Gulf Homes / Ashton Woods Homes
> Fax: (416) 441-9085
>
>
> 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.
>> ------------------------------------------------------------------------
>>
>>
>>

Attachment Content-Type Size
dave.potts.vcf text/x-vcard 85 bytes

In response to

Browse pgsql-general by date

  From Date Subject
Next Message askel 2008-03-16 04:26:48 on insert when ... do instead update
Previous Message brian 2008-03-16 00:30:36 Re: how to make this database / query faster