| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера