Thread: pgsql/src backend/access/nbtree/nbtinsert.c ba ...

pgsql/src backend/access/nbtree/nbtinsert.c ba ...

From
Tom Lane
Date:
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    tgl@hub.org    01/01/14 00:08:17

Modified files:
    src/backend/access/nbtree: nbtinsert.c
    src/backend/access/transam: xact.c xlog.c
    src/backend/bootstrap: bootstrap.c
    src/backend/commands: vacuum.c analyze.c copy.c
    src/backend/executor: execProcnode.c
    src/backend/storage/buffer: bufmgr.c s_lock.c
    src/backend/storage/ipc: ipc.c spin.c
    src/backend/storage/lmgr: lock.c proc.c
    src/backend/tcop: postgres.c
    src/backend/utils/error: elog.c
    src/backend/utils/init: globals.c
    src/include/access: xlog.h
    src/include    : miscadmin.h
    src/include/storage: proc.h ipc.h
    src/include/tcop: tcopprot.h
    src/include/utils: elog.h
    src/interfaces/ecpg/preproc: pgc.l

Log message:
    Restructure backend SIGINT/SIGTERM handling so that 'die' interrupts
    are treated more like 'cancel' interrupts: the signal handler sets a
    flag that is examined at well-defined spots, rather than trying to cope
    with an interrupt that might happen anywhere.  See pghackers discussion
    of 1/12/01.