pgsql: Fix single-user mode so that interrupts (particularly SIGTERM and

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix single-user mode so that interrupts (particularly SIGTERM and
Date: 2007-07-09 01:15:15
Message-ID: [email protected]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix single-user mode so that interrupts (particularly SIGTERM and
SIGQUIT) will be recognized and processed while waiting for input,
rather than only after something has been typed. Also make SIGQUIT
do the same thing as SIGTERM in single-user mode, ie, do a normal
shutdown and exit. Since it's relatively easy to provoke SIGQUIT
from the keyboard, people may try that instead of control-D, and we'd
rather this leads to orderly shutdown. Per report from Leon Mergen
and subsequent discussion.

Modified Files:
--------------
pgsql/src/backend/tcop:
postgres.c (r1.535 -> r1.536)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/tcop/postgres.c.diff?r1=1.535&r2=1.536)

Browse pgsql-committers by date

  From Date Subject
Next Message Joe Conway 2007-07-09 01:32:31 pgsql: Restrict non-superusers to password authenticated connections to
Previous Message Tom Lane 2007-07-09 01:08:09 pgsql: Minor copy-editing.