Skip site navigation (1) Skip section navigation (2)

pgsql: Cause ShutdownPostgres to do a normal transaction abort during

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Cause ShutdownPostgres to do a normal transaction abort during
Date: 2005-08-08 03:12:20
Message-ID: 20050808031220.8A43E52BFF@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Cause ShutdownPostgres to do a normal transaction abort during backend
exit, instead of trying to take shortcuts.  Introduce some additional
shutdown callback routines to eliminate kluges like having ProcKill
be responsible for shutting down the buffer manager.  Ensure that the
order of operations during shutdown is predictable and what you would
expect given the module layering.

Modified Files:
--------------
    pgsql/src/backend/bootstrap:
        bootstrap.c (r1.205 -> r1.206)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/bootstrap/bootstrap.c.diff?r1=1.205&r2=1.206)
    pgsql/src/backend/postmaster:
        pgstat.c (r1.102 -> r1.103)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/pgstat.c.diff?r1=1.102&r2=1.103)
    pgsql/src/backend/storage/buffer:
        buf_init.c (r1.73 -> r1.74)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/buffer/buf_init.c.diff?r1=1.73&r2=1.74)
        bufmgr.c (r1.190 -> r1.191)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/buffer/bufmgr.c.diff?r1=1.190&r2=1.191)
    pgsql/src/backend/storage/file:
        fd.c (r1.119 -> r1.120)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/file/fd.c.diff?r1=1.119&r2=1.120)
    pgsql/src/backend/storage/lmgr:
        proc.c (r1.161 -> r1.162)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/lmgr/proc.c.diff?r1=1.161&r2=1.162)
    pgsql/src/backend/storage/smgr:
        smgr.c (r1.91 -> r1.92)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/smgr/smgr.c.diff?r1=1.91&r2=1.92)
    pgsql/src/backend/tcop:
        postgres.c (r1.455 -> r1.456)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/tcop/postgres.c.diff?r1=1.455&r2=1.456)
    pgsql/src/backend/utils/init:
        postinit.c (r1.155 -> r1.156)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/init/postinit.c.diff?r1=1.155&r2=1.156)
    pgsql/src/include/storage:
        bufmgr.h (r1.93 -> r1.94)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/storage/bufmgr.h.diff?r1=1.93&r2=1.94)
        fd.h (r1.52 -> r1.53)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/storage/fd.h.diff?r1=1.52&r2=1.53)

pgsql-committers by date

Next:From: Tom LaneDate: 2005-08-08 03:35:16
Subject: pgsql: Cygwin no longer needs to hack SHLIB_LINK, now that Rocco Altier
Previous:From: James William PyeDate: 2005-08-08 01:38:53
Subject: python - pq: Remove Argument, improve performance, use __slots__.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group