Re: log_duration is redundant, no? - Mailing list pgsql-hackers

From David Fetter
Subject Re: log_duration is redundant, no?
Date
Msg-id 20060907221226.GA7921@fetter.org
Whole thread Raw
In response to Re: log_duration is redundant, no?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Thu, Sep 07, 2006 at 06:06:51PM -0400, Tom Lane wrote:
> "Guillaume Smet" <guillaume.smet@gmail.com> writes:
> > I mean:
> > log_duration = on
> > log_min_duration_statement = 500
> > would log only duration for queries faster than 500 ms and
> > duration + query text for queries slower than 500ms (we can easily
> > avoid redundancy).
> 
> I don't find this very persuasive --- it sounds awfully messy, and
> in fact isn't that exactly the old behavior we got rid of because no
> one could understand it?

Guillaume's the author of pgfouine, which understands it and helps
others to do same.

Cheers,
D
-- 
David Fetter <david@fetter.org> http://fetter.org/
phone: +1 415 235 3778        AIM: dfetter666                             Skype: davidfetter

Remember to vote!


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: log_duration is redundant, no?
Next
From: Josh Berkus
Date:
Subject: Re: log_duration is redundant, no?