Re: fork/exec patch: pre-CreateProcess finalization - Mailing list pgsql-patches

From Tom Lane
Subject Re: fork/exec patch: pre-CreateProcess finalization
Date
Msg-id 27027.1073690538@sss.pgh.pa.us
Whole thread Raw
In response to Re: fork/exec patch: pre-CreateProcess finalization  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: fork/exec patch: pre-CreateProcess finalization
List pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Claudio specified the attached fix, which I have applied (this time).

The ereport must vanish back into its black hole, also.
ProcessStartupPacket has already issued any appropriate log message.

> *** 2450,2456 ****
>       {
>           ereport(LOG,
>                   (errmsg("connection startup failed")));
> !         proc_exit(status);
>       }

>       /*
> --- 2450,2456 ----
>       {
>           ereport(LOG,
>                   (errmsg("connection startup failed")));
> !         proc_exit(0);
>       }

>       /*

            regards, tom lane

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: fork/exec patch: pre-CreateProcess finalization
Next
From: Bruce Momjian
Date:
Subject: Re: fork/exec patch: pre-CreateProcess finalization