pgsql: Use SnapshotNow instead of SnapshotSelf for reading the catalogs - Mailing list pgsql-committers

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql: Use SnapshotNow instead of SnapshotSelf for reading the catalogs
Date
Msg-id 20050220220223.09F988B9CC8@svr1.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Use SnapshotNow instead of SnapshotSelf for reading the catalogs
during flat-file writing.  The only difference is that SnapshotSelf
would consider tuples of the 'current command' within the current
transaction as valid, where SnapshotNow wouldn't.  We can eliminate
the need for this with one extra CommandCounterIncrement call before
we start reading the catalogs.

Modified Files:
--------------
    pgsql/src/backend/utils/init:
        flatfiles.c (r1.2 -> r1.3)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/init/flatfiles.c.diff?r1=1.2&r2=1.3)

pgsql-committers by date:

Previous
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Remove some no-longer-needed kluges for bootstrapping, in
Next
From: neilc@svr1.postgresql.org (Neil Conway)
Date:
Subject: pgsql: Document the "register" and "unregister" pg_ctl subcommands, for