From: Vivek Khera <vivek@khera.org>
To: Mauro Bertoli <bertolima@yahoo.it>
Cc: pgsql-sql@postgresql.org
Subject: Re: Query history file
Date: Tue, 12 Apr 2005 15:33:36 -0400
Message-ID: <789a8a019bd83dd8e65eca00022b34bb@khera.org> (raw)
In-Reply-To: <20050405152907.46866.qmail@web25602.mail.ukl.yahoo.com>
References: <20050405152907.46866.qmail@web25602.mail.ukl.yahoo.com>
On Apr 5, 2005, at 11:29 AM, Mauro Bertoli wrote:
>> From the
>> server side, if you enable 'log_statement' all
>> queries will go into the
>> server logs.
> Thank you, I enabled
> log_statement = all
> log_duration = true
You may also want
log_min_error_statement = error
else any statement that causes an error (such as a typo) will not be
logged -- just the error gets logged. Makes debugging of very complex
systems much easier to be able to see the full query that caused the
problem.
Vivek Khera, Ph.D.
+1-301-869-4449 x806
Attachments:
smime.p7s (application/pkcs7-signature, 2.4K) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: vivek@khera.org, bertolima@yahoo.it
Subject: Re: Query history file
In-Reply-To: <789a8a019bd83dd8e65eca00022b34bb@khera.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox