Re: log_min_duration_statement #2

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: log_min_duration_statement #2
Дата
Msg-id 200306010350.h513oFC05020@candle.pha.pa.us
обсуждение исходный текст
Ответ на log_min_duration_statement #2  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список pgsql-patches
Your patch has been added to the PostgreSQL unapplied patches list at:

    http://momjian.postgresql.org/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

I am going to modify your patch slightly.  I am going to configure it so
if you set the value to '1', you always get the duration and statement.
As it is coded, a query less than 1 millisecond will not print with a
value of '1', and I am going to document this behavior.  I am also going
to remove the mention of the maximum in the docs --- seems unnecessary.

---------------------------------------------------------------------------


Christopher Kings-Lynne wrote:
> OK,
>
> This limits max value to INT_MAX / 1000.
>
> Chris

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

В списке pgsql-patches по дате отправления:

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: [HACKERS] Are we losing momentum?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] "Adding missing from clause" (replacement)