pgsql: Fix hot standby bug with GiST scans. - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Fix hot standby bug with GiST scans.
Date
Msg-id E1WXVJT-000466-AT@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/d034e9b3be3f9a2a2b85a4cb67f24c246d37f117

Modified Files
--------------
src/backend/access/gist/gistxlog.c |    1 -
1 file changed, 1 deletion(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Fix hot standby bug with GiST scans.
Next
From: Robert Haas
Date:
Subject: pgsql: Add new to_reg* functions for error-free OID lookups.