Skip site navigation (1) Skip section navigation (2)

Re: How does EXEC_BACKEND process signals?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: How does EXEC_BACKEND process signals?
Date: 2007-01-27 05:04:40
Message-ID: 2274.1169874280@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Alvaro Herrera <alvherre(at)commandprompt(dot)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

In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2007-01-27 05:14:31
Subject: Re: Autovacuum launcher patch
Previous:From: Tom LaneDate: 2007-01-27 04:49:29
Subject: Re: Recursive query syntax ambiguity

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group