| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Shutdown term |
| Date: | 2001-03-14 01:54:42 |
| Message-ID: | 200103140154.UAA09082@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Hiroshi Inoue | 2001-03-14 02:42:11 | Re: RE: xlog loose ends, continued |
| Previous Message | Justin Clift | 2001-03-14 01:10:52 | Re: Re: xlog loose ends, continued |