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

pgsql-server: Renumber SnapshotNow and the other special snapshot codes

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server: Renumber SnapshotNow and the other special snapshot codes
Date: 2004-09-11 18:28:35
Message-ID: 20040911182835.B1C97329E01@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Renumber SnapshotNow and the other special snapshot codes so that
((Snapshot) NULL) can no longer be confused with a valid snapshot,
as per my recent suggestion.  Define a macro InvalidSnapshot for 0.
Use InvalidSnapshot instead of SnapshotAny as the do-nothing special
case for heap_update and heap_delete crosschecks; this seems a little
cleaner even though the behavior is really the same.

Modified Files:
--------------
    pgsql-server/src/backend/access/heap:
        heapam.c (r1.173 -> r1.174)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/access/heap/heapam.c.diff?r1=1.173&r2=1.174)
    pgsql-server/src/backend/commands:
        async.c (r1.116 -> r1.117)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/commands/async.c.diff?r1=1.116&r2=1.117)
    pgsql-server/src/backend/executor:
        execMain.c (r1.236 -> r1.237)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/executor/execMain.c.diff?r1=1.236&r2=1.237)
        execUtils.c (r1.114 -> r1.115)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/executor/execUtils.c.diff?r1=1.114&r2=1.115)
    pgsql-server/src/include/utils:
        tqual.h (r1.50 -> r1.51)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/include/utils/tqual.h.diff?r1=1.50&r2=1.51)

pgsql-committers by date

Next:From: User MhaDate: 2004-09-11 20:00:57
Subject: pginstaller - web: Update FAQ with information aobut "Socket operation
Previous:From: User MhaDate: 2004-09-11 18:25:11
Subject: pginstaller - pginst: Provide information and button to subscribe to

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