Thread: pgsql/src backend/access/transam/xlog.c backen ...

pgsql/src backend/access/transam/xlog.c backen ...

From
tgl@postgresql.org
Date:
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    tgl@postgresql.org    01/11/04 14:55:31

Modified files:
    src/backend/access/transam: xlog.c
    src/backend/commands: user.c
    src/backend/postmaster: postmaster.c
    src/backend/storage/ipc: Makefile ipci.c sinvaladt.c
Added files:
    src/backend/storage/ipc: pmsignal.c
    src/include/storage: pmsignal.h

Log message:
    Merge three existing ways of signaling postmaster from child processes,
    so that only one signal number is used not three.  Flags in shared
    memory tell the reason(s) for the current signal.  This method is
    extensible to handle more signal reasons without chewing up even more
    signal numbers, but the immediate reason is to keep pg_pwd reloads
    separate from SIGHUP processing in the postmaster.
    Also clean up some problems in the postmaster with delayed response to
    checkpoint status changes --- basically, it wouldn't schedule a checkpoint
    if it wasn't getting connection requests on a regular basis.