From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Ryszard Lach <siaco@autograf.pl>
Cc: pgsql-performance@postgresql.org
Subject: Re: duration logging setting in 7.4
Date: Mon, 17 Nov 2003 21:37:07 -0500 (EST)
Message-ID: <200311180237.hAI2b7s29417@candle.pha.pa.us> (raw)
In-Reply-To: <20031117222058.GD3248@siaco.id.pl>
Ryszard Lach wrote:
>
> Hi.
>
> I'm trying to set run-time environment in pgsql7.4 so, that it prints
> all statements with duration time, but I can't understand why setting
> log_min_duration_statement to '0' causes printing to syslog plenty of
> lines ending with 'duration: statement:', i.e. without any statement
> string (except expected ones). Can anybody help me?
Can you show us some of the log file? If I do:
test=> set log_min_duration_statement = 0;
SET
test=> select 1;
?column?
----------
1
(1 row)
I get:
LOG: duration: 0.861 ms statement: select 1;
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
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-performance@postgresql.org
Cc: pgman@candle.pha.pa.us, siaco@autograf.pl
Subject: Re: duration logging setting in 7.4
In-Reply-To: <200311180237.hAI2b7s29417@candle.pha.pa.us>
* 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