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

pgsql: Two-phase commit.

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Two-phase commit.
Date: 2005-06-17 22:32:51
Message-ID: 20050617223251.7968C5293D@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Two-phase commit.  Original patch by Heikki Linnakangas, with additional
hacking by Alvaro Herrera and Tom Lane.

Modified Files:
--------------
    pgsql/doc/src/sgml:
        catalogs.sgml (r2.103 -> r2.104)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/catalogs.sgml.diff?r1=2.103&r2=2.104)
        reference.sgml (r1.52 -> r1.53)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/reference.sgml.diff?r1=1.52&r2=1.53)
        runtime.sgml (r1.328 -> r1.329)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/runtime.sgml.diff?r1=1.328&r2=1.329)
    pgsql/doc/src/sgml/ref:
        allfiles.sgml (r1.62 -> r1.63)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/ref/allfiles.sgml.diff?r1=1.62&r2=1.63)
    pgsql/src/backend/access/transam:
        Makefile (r1.20 -> r1.21)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/Makefile.diff?r1=1.20&r2=1.21)
        subtrans.c (r1.8 -> r1.9)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/subtrans.c.diff?r1=1.8&r2=1.9)
        transam.c (r1.64 -> r1.65)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/transam.c.diff?r1=1.64&r2=1.65)
        xact.c (r1.204 -> r1.205)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xact.c.diff?r1=1.204&r2=1.205)
        xlog.c (r1.200 -> r1.201)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xlog.c.diff?r1=1.200&r2=1.201)
    pgsql/src/backend/catalog:
        system_views.sql (r1.13 -> r1.14)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/system_views.sql.diff?r1=1.13&r2=1.14)
    pgsql/src/backend/commands:
        async.c (r1.122 -> r1.123)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/async.c.diff?r1=1.122&r2=1.123)
    pgsql/src/backend/nodes:
        copyfuncs.c (r1.306 -> r1.307)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/nodes/copyfuncs.c.diff?r1=1.306&r2=1.307)
        equalfuncs.c (r1.243 -> r1.244)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/nodes/equalfuncs.c.diff?r1=1.243&r2=1.244)
    pgsql/src/backend/parser:
        gram.y (r2.494 -> r2.495)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/gram.y.diff?r1=2.494&r2=2.495)
        keywords.c (r1.156 -> r1.157)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/keywords.c.diff?r1=1.156&r2=1.157)
    pgsql/src/backend/postmaster:
        postmaster.c (r1.453 -> r1.454)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/postmaster.c.diff?r1=1.453&r2=1.454)
    pgsql/src/backend/storage/ipc:
        ipci.c (r1.76 -> r1.77)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/ipc/ipci.c.diff?r1=1.76&r2=1.77)
        procarray.c (r1.2 -> r1.3)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/ipc/procarray.c.diff?r1=1.2&r2=1.3)
    pgsql/src/backend/storage/lmgr:
        lmgr.c (r1.76 -> r1.77)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/lmgr/lmgr.c.diff?r1=1.76&r2=1.77)
        lock.c (r1.155 -> r1.156)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/lmgr/lock.c.diff?r1=1.155&r2=1.156)
        proc.c (r1.159 -> r1.160)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/lmgr/proc.c.diff?r1=1.159&r2=1.160)
    pgsql/src/backend/storage/smgr:
        smgr.c (r1.89 -> r1.90)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/smgr/smgr.c.diff?r1=1.89&r2=1.90)
    pgsql/src/backend/tcop:
        postgres.c (r1.448 -> r1.449)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/tcop/postgres.c.diff?r1=1.448&r2=1.449)
        utility.c (r1.236 -> r1.237)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/tcop/utility.c.diff?r1=1.236&r2=1.237)
    pgsql/src/backend/utils/cache:
        inval.c (r1.71 -> r1.72)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/cache/inval.c.diff?r1=1.71&r2=1.72)
    pgsql/src/backend/utils/init:
        flatfiles.c (r1.7 -> r1.8)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/init/flatfiles.c.diff?r1=1.7&r2=1.8)
        postinit.c (r1.147 -> r1.148)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/init/postinit.c.diff?r1=1.147&r2=1.148)
    pgsql/src/backend/utils/misc:
        guc.c (r1.267 -> r1.268)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/guc.c.diff?r1=1.267&r2=1.268)
        postgresql.conf.sample (r1.146 -> r1.147)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/postgresql.conf.sample.diff?r1=1.146&r2=1.147)
    pgsql/src/backend/utils/mmgr:
        portalmem.c (r1.80 -> r1.81)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/mmgr/portalmem.c.diff?r1=1.80&r2=1.81)
    pgsql/src/bin/initdb:
        initdb.c (r1.83 -> r1.84)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/initdb/initdb.c.diff?r1=1.83&r2=1.84)
    pgsql/src/bin/psql:
        common.c (r1.102 -> r1.103)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/common.c.diff?r1=1.102&r2=1.103)
    pgsql/src/include/access:
        subtrans.h (r1.5 -> r1.6)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/access/subtrans.h.diff?r1=1.5&r2=1.6)
        xact.h (r1.76 -> r1.77)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/access/xact.h.diff?r1=1.76&r2=1.77)
    pgsql/src/include/catalog:
        catversion.h (r1.276 -> r1.277)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/catalog/catversion.h.diff?r1=1.276&r2=1.277)
        pg_proc.h (r1.367 -> r1.368)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/catalog/pg_proc.h.diff?r1=1.367&r2=1.368)
    pgsql/src/include/commands:
        async.h (r1.27 -> r1.28)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/commands/async.h.diff?r1=1.27&r2=1.28)
    pgsql/src/include/nodes:
        parsenodes.h (r1.281 -> r1.282)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/nodes/parsenodes.h.diff?r1=1.281&r2=1.282)
    pgsql/src/include/storage:
        ipc.h (r1.70 -> r1.71)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/storage/ipc.h.diff?r1=1.70&r2=1.71)
        lmgr.h (r1.49 -> r1.50)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/storage/lmgr.h.diff?r1=1.49&r2=1.50)
        lock.h (r1.88 -> r1.89)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/storage/lock.h.diff?r1=1.88&r2=1.89)
        lwlock.h (r1.19 -> r1.20)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/storage/lwlock.h.diff?r1=1.19&r2=1.20)
        proc.h (r1.78 -> r1.79)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/storage/proc.h.diff?r1=1.78&r2=1.79)
        procarray.h (r1.1 -> r1.2)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/storage/procarray.h.diff?r1=1.1&r2=1.2)
        smgr.h (r1.51 -> r1.52)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/storage/smgr.h.diff?r1=1.51&r2=1.52)
    pgsql/src/include/utils:
        builtins.h (r1.257 -> r1.258)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/utils/builtins.h.diff?r1=1.257&r2=1.258)
        flatfiles.h (r1.3 -> r1.4)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/utils/flatfiles.h.diff?r1=1.3&r2=1.4)
        inval.h (r1.35 -> r1.36)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/utils/inval.h.diff?r1=1.35&r2=1.36)
        portal.h (r1.55 -> r1.56)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/utils/portal.h.diff?r1=1.55&r2=1.56)
    pgsql/src/test/regress/expected:
        rules.out (r1.100 -> r1.101)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/rules.out.diff?r1=1.100&r2=1.101)
    pgsql/src/test/regress:
        parallel_schedule (r1.27 -> r1.28)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/parallel_schedule.diff?r1=1.27&r2=1.28)
        serial_schedule (r1.26 -> r1.27)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/serial_schedule.diff?r1=1.26&r2=1.27)

Added Files:
-----------
    pgsql/doc/src/sgml/ref:
        commit_prepared.sgml (r1.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/ref/commit_prepared.sgml?rev=1.1&content-type=text/x-cvsweb-markup)
        prepare_transaction.sgml (r1.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/ref/prepare_transaction.sgml?rev=1.1&content-type=text/x-cvsweb-markup)
        rollback_prepared.sgml (r1.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/ref/rollback_prepared.sgml?rev=1.1&content-type=text/x-cvsweb-markup)
    pgsql/src/backend/access/transam:
        twophase.c (r1.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/twophase.c?rev=1.1&content-type=text/x-cvsweb-markup)
        twophase_rmgr.c (r1.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/twophase_rmgr.c?rev=1.1&content-type=text/x-cvsweb-markup)
    pgsql/src/include/access:
        twophase.h (r1.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/access/twophase.h?rev=1.1&content-type=text/x-cvsweb-markup)
        twophase_rmgr.h (r1.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/access/twophase_rmgr.h?rev=1.1&content-type=text/x-cvsweb-markup)
    pgsql/src/test/regress/expected:
        prepared_xacts.out (r1.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/prepared_xacts.out?rev=1.1&content-type=text/x-cvsweb-markup)
    pgsql/src/test/regress/sql:
        prepared_xacts.sql (r1.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/sql/prepared_xacts.sql?rev=1.1&content-type=text/x-cvsweb-markup)

pgsql-committers by date

Next:From: Bruce MomjianDate: 2005-06-18 01:45:04
Subject: pgsql: Done: < * Add two-phase commit [2phase] > * -Add two-phase
Previous:From: User AndreasDate: 2005-06-17 19:51:33
Subject: tablelog - tablelog: make things working on 7.4

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