Re: Shutdown term
От | Bruce Momjian |
---|---|
Тема | Re: Shutdown term |
Дата | |
Msg-id | 200103132031.PAA28015@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: Shutdown term (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Shutdown term
|
Список | pgsql-hackers |
> Peter Eisentraut <peter_e@gmx.net> 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. Seems like overkill to me. We could have the postmaster use SIGQUIT for db shutdown and leave SIGKILL for admin shutdown of individual backends. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania19026
В списке pgsql-hackers по дате отправления: