OSDN Git Service

SERIALIZABLE transactions are actually implemented beneath the covers with
authorJoe Conway <mail@joeconway.com>
Sat, 11 Sep 2010 18:38:58 +0000 (18:38 +0000)
committerJoe Conway <mail@joeconway.com>
Sat, 11 Sep 2010 18:38:58 +0000 (18:38 +0000)
commit5eb15c9942a9bd6aaf712f2ab6175005e035168a
tree5795253ca2eeb8850761da17341ee062078894a0
parent262c71ab63d5781cd68b23d2058cbb45ad67a54c
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.
src/backend/access/heap/heapam.c
src/backend/catalog/index.c
src/backend/commands/trigger.c
src/backend/executor/execMain.c
src/backend/executor/nodeLockRows.c
src/backend/executor/nodeModifyTable.c
src/backend/tcop/postgres.c
src/backend/tcop/pquery.c
src/backend/utils/adt/ri_triggers.c
src/backend/utils/time/snapmgr.c
src/include/access/xact.h