From: | Jayadevan M <maymala(dot)jayadevan(at)gmail(dot)com> |
---|---|
To: | Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at> |
Cc: | Amit Langote <amitlangote09(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: logging statements in PostgreSQL |
Date: | 2013-10-01 12:21:31 |
Message-ID: | CAFS1N4iYGtnRTjJKrvghRZMkSHtQ5H-B6HQwvATcGe_L6HgULg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi,
I was looking for options to make sure SQLs executed as part of functions
also get logged. Since this is a production system, I wanted to do it
without the EXPLAIN also written to the logs. May be that is not possible?
Regards,
Jayadevan
On Mon, Sep 30, 2013 at 5:08 PM, Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>wrote:
> Jayadevan M wrote:
> > Thanks for the pointer. I do not really want to log the plans of
> queries, just the queries, execution
> > time and a couple of other details (database,user). If I use the
> auto-explain module, it will end up
> > printing the plan for all query execution in the log files?
>
> You can configure it so that only statements exceeding a certain
> duration will be logged.
>
> Yours,
> Laurenz Albe
>
From | Date | Subject | |
---|---|---|---|
Next Message | akp geek | 2013-10-01 14:14:53 | Re: Postgres replication question :- One master 2 slaves 9.0.10 |
Previous Message | Chris Travers | 2013-10-01 03:10:11 | Re: Postgres replication question :- One master 2 slaves 9.0.10 |