From: | joe(at)postgresql(dot)org (Joe Conway) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: SERIALIZABLE transactions are actually implemented beneath the |
Date: | 2010-09-11 18:38:58 |
Message-ID: | 20100911183858.40A717541E2@cvs.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Log Message:
-----------
SERIALIZABLE transactions are actually implemented beneath the covers with
transaction snapshots, i.e. a snapshot registered at the beginning of
a transaction. Change variable naming and comments to reflect this reality
in preparation for a future, truly serializable mode, e.g.
Serializable Snapshot Isolation (SSI).
For the moment transaction snapshots are still used to implement
SERIALIZABLE, but hopefully not for too much longer. Patch by Kevin
Grittner and Dan Ports with review and some minor wording changes by me.
Modified Files:
--------------
pgsql/src/backend/access/heap:
heapam.c (r1.293 -> r1.294)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/heap/heapam.c?r1=1.293&r2=1.294)
pgsql/src/backend/catalog:
index.c (r1.338 -> r1.339)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/index.c?r1=1.338&r2=1.339)
pgsql/src/backend/commands:
trigger.c (r1.265 -> r1.266)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/trigger.c?r1=1.265&r2=1.266)
pgsql/src/backend/executor:
execMain.c (r1.354 -> r1.355)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/execMain.c?r1=1.354&r2=1.355)
nodeLockRows.c (r1.6 -> r1.7)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/nodeLockRows.c?r1=1.6&r2=1.7)
nodeModifyTable.c (r1.9 -> r1.10)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/nodeModifyTable.c?r1=1.9&r2=1.10)
pgsql/src/backend/tcop:
postgres.c (r1.596 -> r1.597)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/tcop/postgres.c?r1=1.596&r2=1.597)
pquery.c (r1.137 -> r1.138)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/tcop/pquery.c?r1=1.137&r2=1.138)
pgsql/src/backend/utils/adt:
ri_triggers.c (r1.120 -> r1.121)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/ri_triggers.c?r1=1.120&r2=1.121)
pgsql/src/backend/utils/time:
snapmgr.c (r1.15 -> r1.16)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/time/snapmgr.c?r1=1.15&r2=1.16)
pgsql/src/include/access:
xact.h (r1.103 -> r1.104)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/access/xact.h?r1=1.103&r2=1.104)
From | Date | Subject | |
---|---|---|---|
Next Message | Gurjeet Singh | 2010-09-12 00:42:22 | Re: pgsql: Introduce latches. |
Previous Message | Heikki Linnakangas | 2010-09-11 16:26:04 | pgsql: Add missing #includes, needed on some platforms. |