Re: Reporting query duration

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Reporting query duration
Дата
Msg-id 26772.1030682866@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Reporting query duration  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Reporting query duration
Список 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 по дате отправления:

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: contrib features during beta period
Следующее
От: Tom Lane
Дата:
Сообщение: Re: contrib features during beta period