From: Phil Geer <philg@gearcc.com>
To: nickf@ontko.com
To: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: logging queries
Date: Mon, 23 Sep 2002 20:25:25 -0400
Message-ID: <00df01c26360$e154b370$4ac16dd8@offback2000> (raw)
References: <NEBBLAAHGLEEPCGOBHDGOEHAFNAA.nickf@ontko.com>
Here is a link to the doc you need.
http://www.postgresql.org/idocs/index.php?runtime-config.html#LOGGING
DEBUG_PRINT_QUERY (boolean)
DEBUG_PRINT_PARSE (boolean)
DEBUG_PRINT_REWRITTEN (boolean)
DEBUG_PRINT_PLAN (boolean)
DEBUG_PRETTY_PRINT (boolean)
Hope this helps
Phil
----- Original Message -----
From: "Nick Fankhauser" <nickf@ontko.com>
To: "pgsql-admin" <pgsql-admin@postgresql.org>
Sent: Monday, September 23, 2002 6:05 PM
Subject: [ADMIN] logging queries
> Hi-
>
> I'd like to set the logging or debug level so that the text of the queries
> that are executed show up in the log file. It seems to me that I recall
this
> being discussed before, but I can't find any specific references in the
> runtime-config portion of the docs.
>
> Can someone tell me if this is possible & if so, what runtime settings are
> needed?
>
> Thanks
>
> -Nick
>
> --------------------------------------------------------------------------
> Nick Fankhauser nickf@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788
> Ray Ontko & Co. Software Consulting Services http://www.ontko.com/
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: philg@gearcc.com, nickf@ontko.com
Subject: Re: logging queries
In-Reply-To: <00df01c26360$e154b370$4ac16dd8@offback2000>
References: <NEBBLAAHGLEEPCGOBHDGOEHAFNAA.nickf@ontko.com> <00df01c26360$e154b370$4ac16dd8@offback2000>
* 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