git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 1fd3dd2) | patch
Avoid special XID snapshotConflictHorizon values.
Mon, 2 Jan 2023 18:16:51 +0000 (10:16 -0800)
Mon, 2 Jan 2023 18:16:51 +0000 (10:16 -0800)
commit 6daeeb1f9196e5d59aa7d5c9ef7ed67b3f3ac4b5
Avoid special XID snapshotConflictHorizon values.

Don't allow VACUUM to WAL-log the value FrozenTransactionId as the
snapshotConflictHorizon of freezing or visibility map related WAL
records.

The only special XID value that's an allowable snapshotConflictHorizon
is InvalidTransactionId, which is interpreted as "record definitely
doesn't require a recovery conflict".

Author: Peter Geoghegan <pg@bowt.ie>
Discussion: https://postgr.es/m/CAH2-WznuNGSzF8v6OsgjaC5aYsb3cZ6HW6MLm30X0d65cmSH6A@mail.gmail.com
src/backend/access/heap/vacuumlazy.c diff | blob | blame | history
src/backend/storage/ipc/standby.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /