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

From Tom Lane
Subject Re: log_duration is redundant, no?
Date
Msg-id 28506.1157666811@sss.pgh.pa.us
Whole thread Raw
In response to Re: log_duration is redundant, no?  ("Guillaume Smet" <guillaume.smet@gmail.com>)
Responses Re: log_duration is redundant, no?  (David Fetter <david@fetter.org>)
Re: log_duration is redundant, no?  (Josh Berkus <josh@agliodbs.com>)
Re: log_duration is redundant, no?  ("Guillaume Smet" <guillaume.smet@gmail.com>)
List pgsql-hackers
"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?
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Guillaume Smet"
Date:
Subject: Re: log_duration is redundant, no?
Next
From: David Fetter
Date:
Subject: Re: log_duration is redundant, no?