Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

Next:From: Tom LaneDate: 2002-08-30 04:49:11
Subject: Re: contrib features during beta period
Previous:From: Christopher Kings-LynneDate: 2002-08-30 04:46:05
Subject: contrib features during beta period

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group