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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 14f98e0) | patch
Assert only valid flag bits are passed to visibilitymap_set()
Sun, 2 Apr 2023 00:55:33 +0000 (17:55 -0700)
Sun, 2 Apr 2023 01:00:19 +0000 (18:00 -0700)
commit a88a18b1250b9e6b40536e4dec04d32d655b8140
Assert only valid flag bits are passed to visibilitymap_set()

If visibilitymap_set() is called with flags containing a higher bit than
VISIBILITYMAP_ALL_FROZEN, the state of neighboring pages is affected. While
there was an assertion that *some* valid bits were set, it did not check
that *only* valid bits were. Change that.

Discussion: https://postgr.es/m/20230331043300.gux3s5wzrapqi4oe@awork3.anarazel.de
src/backend/access/heap/visibilitymap.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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