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

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql-server: Renumber SnapshotNow and the other special snapshot codes
Date
Msg-id 20040911182835.B1C97329E01@svr1.postgresql.org
Whole thread Raw
List 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:

Previous
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql-server: Fix bogus example for bit-string XOR (already fixed in
Next
From: mha@pgfoundry.org (User Mha)
Date:
Subject: pginstaller - pginst: Correctly check for NULL return value when