From: Reid Thompson <Reid.Thompson@ateb.com>
To: dimi@lattica.com
Cc: Reid Thompson <Reid.Thompson@ateb.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: What is postmaster doing?
Date: Wed, 20 Oct 2010 15:24:08 -0400
Message-ID: <7C0800F63CCF4149AC0FC5EE2A041226D52307@sr002-2k3exc.ateb.com> (raw)
In-Reply-To: <1287600255.18151.58.camel@dimi.lattica.com>
References: <1287600255.18151.58.camel@dimi.lattica.com>
On Wed, 2010-10-20 at 14:44 -0400, Dimi Paun wrote:
> Folks,
> is there a way I can log all SQL statements to a file, together with the
> time it took to execute them?
>
> --
> Dimi Paun <dimi@lattica.com>
> Lattica, Inc.
This is controlled by settings in the postgresql.conf file.
see the appropriate doc page vv for your version
http://www.postgresql.org/docs/8.2/static/runtime-config-logging.html
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-performance@postgresql.org
Cc: Reid.Thompson@ateb.com, dimi@lattica.com
Subject: Re: What is postmaster doing?
In-Reply-To: <7C0800F63CCF4149AC0FC5EE2A041226D52307@sr002-2k3exc.ateb.com>
References: <1287600255.18151.58.camel@dimi.lattica.com> <7C0800F63CCF4149AC0FC5EE2A041226D52307@sr002-2k3exc.ateb.com>
* 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