Обсуждение: pgsql: Fix hot standby bug with GiST scans.

Поиск
Список
Период
Сортировка

pgsql: Fix hot standby bug with GiST scans.

От
Heikki Linnakangas
Дата:
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_1_STABLE

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

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