Обсуждение: pgsql: SERIALIZABLE transactions are actually implemented beneath the

Поиск
Список
Период
Сортировка

pgsql: SERIALIZABLE transactions are actually implemented beneath the

От
joe@postgresql.org (Joe Conway)
Дата:
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)