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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 74cf802) | patch
Fix hot standby bug with GiST scans.
Tue, 8 Apr 2014 11:47:24 +0000 (14:47 +0300)
Tue, 8 Apr 2014 11:51:56 +0000 (14:51 +0300)
commit 02b9fd73ee576260355a2e2bd489f93dbcbdb37f
Fix hot standby bug with GiST scans.

Don't reset the rightlink of a page when replaying a page update record.
This was a leftover from pre-hot standby days, when it was not possible to
have scans concurrent with WAL replay. Resetting the right-link was not
necessary back then either, but it was done for the sake of tidiness. But
with hot standby, it's wrong, because a concurrent scan might still need it.

Backpatch all versions with hot standby, 9.0 and above.
src/backend/access/gist/gistxlog.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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