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

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Fix single-user mode so that interrupts (particularly SIGTERM and
Date
Msg-id 20070709011515.2F4D19FB7F2@postgresql.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Minor copy-editing.
Next
From: joe@postgresql.org (Joe Conway)
Date:
Subject: pgsql: Restrict non-superusers to password authenticated connections to