Thread: pgsql/src backend/bootstrap/bootstrap.c backen ...

pgsql/src backend/bootstrap/bootstrap.c backen ...

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

Modified files:
    src/backend/bootstrap: bootstrap.c
    src/backend/commands: dbcommands.c
    src/backend/postmaster: pgstat.c postmaster.c
    src/backend/tcop: postgres.c
    src/include    : pgstat.h

Log message:
    Fix handling of SIGCHLD, per recent pghackers discussion: on some
    platforms system(2) gets confused unless the signal handler is set to
    SIG_DFL, not SIG_IGN.  pgstats.c now uses pqsignal() as it should,
    not signal().  Also, arrange for the stats collector process to show
    a reasonable ID in 'ps', rather than looking like a postmaster.