Re: fix log_min_duration_statement logic error

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: pgman(at)candle(dot)pha(dot)pa(dot)us
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Rod Taylor <rbt(at)rbt(dot)ca>, Neil Conway <neilc(at)samurai(dot)com>, PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: fix log_min_duration_statement logic error
Date: 2003-10-09 02:41:59
Message-ID: 200310090241.h992fxM07050@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

pgman wrote:
>
> OK, patch attached and applied. Changes are:
>
> "query:" now "statement:"
> log_duration also now prints when log_min_duration_statement prints

Oh, sample is:

LOG: statement: select 1;
LOG: duration: 0.329 ms
LOG: duration: 0.329 ms statement: select 1;

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

Browse pgsql-patches by date

  From Date Subject
Next Message Karel Zak 2003-10-09 07:55:16 7.4: pg_dumplo fix
Previous Message Bruce Momjian 2003-10-09 02:39:46 Re: fix log_min_duration_statement logic error