Re: enable logging of start time/cookie for all backend processes

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: enable logging of start time/cookie for all backend processes
Дата
Msg-id 20070801180950.GJ10324@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: enable logging of start time/cookie for all backend processes  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: enable logging of start time/cookie for all backend processes  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-patches
Andrew Dunstan wrote:
>
>
> Alvaro Herrera wrote:
>> I am also wondering if setting it in InitAuxiliaryProcess is redundant
>> (or rather, whether the extra set in each auxiliary process is redundant
>> with the call in InitAuxiliaryProcess).
>>
>
> Well, it's set right at the front of SubPostmasterMain, immediately after
> setting MyProcPid. Is that enough to catch every path?

Only in the EXEC_BACKEND case, right?  It's not used at all in the other
case.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: enable logging of start time/cookie for all backend processes
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: enable logging of start time/cookie for all backend processes