Re: logger subprocess including win32

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Subject: Re: logger subprocess including win32
Date: 2004-08-05 21:44:01
Message-ID: 4112AA21.2000805@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Matthew T. O'Connor 2004-08-05 23:33:29 Re: Autovacuum Integration Patch Take 5
Previous Message Andreas Pflug 2004-08-05 21:35:01 Re: logger subprocess including win32