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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 9eb5607) | patch
Use full 64-bit XID for checking if a deleted GiST page is old enough.
2019年7月24日 17:24:07 +0000 (20:24 +0300)
2019年7月24日 17:24:07 +0000 (20:24 +0300)
commit 6655a7299d835dea9e8e0ba69cc5284611b96f29
Use full 64-bit XID for checking if a deleted GiST page is old enough.

Otherwise, after a deleted page gets even older, it becomes unrecyclable
again. B-tree has the same problem, and has had since time immemorial,
but let's at least fix this in GiST, where this is new.

Backpatch to v12, where GiST page deletion was introduced.

Reviewed-by: Andrey Borodin
Discussion: https://www.postgresql.org/message-id/835A15A5-F1B4-4446-A711-BF48357EB602%40yandex-team.ru
src/backend/access/gist/gistutil.c diff | blob | blame | history
src/backend/access/gist/gistvacuum.c diff | blob | blame | history
src/backend/access/gist/gistxlog.c diff | blob | blame | history
src/backend/access/rmgrdesc/gistdesc.c diff | blob | blame | history
src/backend/utils/time/snapmgr.c diff | blob | blame | history
src/include/access/gist.h diff | blob | blame | history
src/include/access/gist_private.h diff | blob | blame | history
src/include/access/gistxlog.h diff | blob | blame | history
src/include/utils/snapmgr.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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