Re: logger subprocess including win32

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: logger subprocess including win32
Дата
Msg-id 20080.1091732003@sss.pgh.pa.us
обсуждение исходный текст
Ответ на logger subprocess including win32  (Andreas Pflug <pgadmin@pse-consulting.de>)
Ответы Re: logger subprocess including win32  (Andreas Pflug <pgadmin@pse-consulting.de>)
Список pgsql-patches
Andreas Pflug <pgadmin@pse-consulting.de> writes:
> Attached the patch, an orgy in #ifdefs, decorated with various indents
> and crlf line ends (glad we have pgindent).

I spent a fair amount of time fooling with this, trying to extract
something that I trusted enough to apply at this late date, but got
stuck on one point.  Exiting when the postmaster dies is *not* good
enough; we want the logger to stick around until the last process
upstream of the logger pipe is gone.  In the Unix case we can detect
this by watching for EOF on the pipe, but I don't know how to do the
equivalent in this threaded scheme you've devised for Windows.

(Why is the separate thread needed, again?)

            regards, tom lane

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

Предыдущее
От: Andreas Pflug
Дата:
Сообщение: Re: Win32 tablespace
Следующее
От: Andreas Pflug
Дата:
Сообщение: Re: logger subprocess including win32