Andreas Pflug <[EMAIL PROTECTED]> 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 ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly