Re: fix log_min_duration_statement logic error

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, 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-05 17:40:43
Message-ID: 200310051740.h95HehT10789@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > It is pretty easy to continue pulling lines after the 'duration' hit to
> > see the full query, perhap using awk, or even grep with a + arg. I just
> > don't see why we should make it harder for folks by splitting it over
> > several lines.
>
> Somehow I fail to see how that's a consistent position.

It is easier than making things split across lines. It is a common
request so I want to make it as easy as possible --- that seems
consistent. If you can think of a way to make it even easier, please
let me know.

I have not heard from you why we should make it harder (split across two
lines), except for consistency with log_statement and log_duration
outputs.

--
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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2003-10-05 17:40:44 Re: fix log_min_duration_statement logic error
Previous Message ohp 2003-10-05 17:38:38 Re: fix log_min_duration_statement logic error