Peter Eisentraut <[EMAIL PROTECTED]> writes:
>       The connection was terminated.
> And make the postmaster print out
>       The system is shutting down.
> before it sends out the SIGTERM's.

Unfortunately the postmaster is in no position to send any message to
the individual clients.

Maybe we should forget the idea of having a single message to cover
both cases, and instead provide some flag in shared memory that the
postmaster can set before it sends out SIGTERMs.  Then the backends
would actually know why they got a SIGTERM and could emit
more-appropriate messages.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply via email to