Re: How does EXEC_BACKEND process signals? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: How does EXEC_BACKEND process signals?
Date
Msg-id 2274.1169874280@sss.pgh.pa.us
Whole thread Raw
In response to How does EXEC_BACKEND process signals?  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> The strange thing is that we're seeing a "forked a new backend" line
> _after_ the shutdown signal was received.

No, nothing surprising about that if you had clients that might try to
connect at that time.  The "canAcceptConnections" test doesn't occur
till after the fork, mainly because we don't want the postmaster risking
blocking itself trying to send error messages to clients.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Recursive query syntax ambiguity
Next
From: Martijn van Oosterhout
Date:
Subject: Re: PostgreSQL Data Loss