Re: fix log_min_duration_statement logic error

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: fix log_min_duration_statement logic error
Дата
Msg-id 1024.1065370852@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: fix log_min_duration_statement logic error  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Peter, any problems with pid wrap-around?  I am thinking we need to
> prepend a "wrap count" on the front of the pid output for 7.5.

Why?  And how would you know when the PIDs have wrapped anyway?

The OS already guarantees that no two concurrently running procs have
the same PID.  That seems sufficient to me.  It's conceivable that a PID
could be recycled quickly enough that it wasn't obvious from the logs
that this was a new backend process and not the same old one, but do you
care?  (And if you did care, wouldn't you be monitoring log_connections,
which would tip you off?)

I think this is a red herring.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: fix log_min_duration_statement logic error
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: fix log_min_duration_statement logic error