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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 7c38ef2) | patch
Assert in init_toast_snapshot() that some snapshot registered or active.
2022年2月19日 20:42:37 +0000 (12:42 -0800)
2022年2月21日 16:58:29 +0000 (08:58 -0800)
commit 2776922201f751e3202a713b61d97fe4e44a8440
Assert in init_toast_snapshot() that some snapshot registered or active.

Commit <FIXME> fixed the bug that RemoveTempRelationsCallback() did not
push/register a snapshot. That only went unnoticed because often a valid
catalog snapshot exists and is returned by GetOldestSnapshot(). But due to
invalidation processing that is not reliable.

Thus assert in init_toast_snapshot() that there is a registered or active
snapshot, using the new HaveRegisteredOrActiveSnapshot().

Author: Andres Freund
Discussion: https://postgr.es/m/20220219180002.6tubjq7iw7m52bgd@alap3.anarazel.de
src/backend/access/common/toast_internals.c diff | blob | blame | history
src/backend/utils/time/snapmgr.c diff | blob | blame | history
src/include/utils/snapmgr.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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