Re: Reporting query duration

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Reporting query duration
Date: 2002-08-30 04:47:46
Message-ID: 26772.1030682866@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-08-30 04:49:11 Re: contrib features during beta period
Previous Message Christopher Kings-Lynne 2002-08-30 04:46:05 contrib features during beta period