Re: logger subprocess including win32 - Mailing list pgsql-patches

From Andreas Pflug
Subject Re: logger subprocess including win32
Date
Msg-id 4112AA21.2000805@pse-consulting.de
Whole thread Raw
In response to Re: logger subprocess including win32  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: logger subprocess including win32
Next
From: "Matthew T. O'Connor"
Date:
Subject: Re: Autovacuum Integration Patch Take 5