pgsql: Use SnapshotNow instead of SnapshotSelf for reading the catalogs

Поиск
Список
Период
Сортировка
От tgl@svr1.postgresql.org (Tom Lane)
Тема pgsql: Use SnapshotNow instead of SnapshotSelf for reading the catalogs
Дата
Msg-id 20050220220223.09F988B9CC8@svr1.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: tgl@svr1.postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Remove some no-longer-needed kluges for bootstrapping, in
Следующее
От: neilc@svr1.postgresql.org (Neil Conway)
Дата:
Сообщение: pgsql: Document the "register" and "unregister" pg_ctl subcommands, for