Re: logger subprocess including win32

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема Re: logger subprocess including win32
Дата
Msg-id 4112AA21.2000805@pse-consulting.de
обсуждение исходный текст
Ответ на Re: logger subprocess including win32  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Tom Lane wrote:

>
>
>>if (!ReadFile(...))
>>{
>>    DWORD error = GetLastError();
>>    if (error == ERROR_HANDLE_EOF)
>>       exit(0);
>
>
> Got it.  And there's no reason that the pipe thread can't do exit(0)
> for itself?

Not really. All threads are equivalent.
BTW, should there be a last NOTICE "syslogger shutting down"?

Regards,
Andreas

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: logger subprocess including win32
Следующее
От: "Matthew T. O'Connor"
Дата:
Сообщение: Re: Autovacuum Integration Patch Take 5