]> granicus.if.org Git - postgresql/commit
Use SnapshotNow instead of SnapshotSelf for reading the catalogs
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 20 Feb 2005 22:02:19 +0000 (22:02 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 20 Feb 2005 22:02:19 +0000 (22:02 +0000)
commitbb0aed591f1e8c9bee51360bf6cb77be8c6eb475
treeb87645fdf7fe454bb7f92426ae3ce510625ba5b1
parent4aefe75553e6ec82b7308f961edd480d8001ec12
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.
src/backend/utils/init/flatfiles.c