Re: How does EXEC_BACKEND process signals?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How does EXEC_BACKEND process signals?
Дата
Msg-id 2274.1169874280@sss.pgh.pa.us
обсуждение исходный текст
Ответ на How does EXEC_BACKEND process signals?  (Alvaro Herrera <alvherre@commandprompt.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Recursive query syntax ambiguity
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: PostgreSQL Data Loss