Re: Shutdown term
| От | Bruce Momjian |
|---|---|
| Тема | Re: Shutdown term |
| Дата | |
| Msg-id | 200103140154.UAA09082@candle.pha.pa.us обсуждение |
| Ответ на | Re: Shutdown term (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Seems like overkill to me. We could have the postmaster use SIGQUIT for
> > db shutdown and leave SIGKILL for admin shutdown of individual backends.
>
> Wrong... at least not with the current definitions of those signals!
I see you just changed them today:
pqsignal(SIGTERM, die); /* cancel current query and exit */
! pqsignal(SIGQUIT, quickdie); /* hard crash time */
! pqsignal(SIGALRM, HandleDeadLock); /* check for deadlock after timeout *
How about:
The database is shutting down.
and not mention server. The current 'system' has to be changed to
'database server' anyway.
-- 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 по дате отправления: