Re: Reporting query duration - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Reporting query duration
Date
Msg-id 26772.1030682866@sss.pgh.pa.us
Whole thread Raw
In response to Re: Reporting query duration  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Reporting query duration
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
>> I think the log entries should be separate: print the query text when
>> you start, print the duration when you're done.  A little bit of
>> postprocessing can reassemble the two entries.

> How would someone reassemble them?  You would have to have the pid, I
> assume.

Sure.

> Do we auto-enable pid output when we enable duration?  Yuck.

No, you expect the user to select the options he needs.  Let's not
over-engineer a perfectly simple feature.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: contrib features during beta period
Next
From: Tom Lane
Date:
Subject: Re: contrib features during beta period