pgsql: Fix WAL replay bug in the new GIN incomplete-split code.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix WAL replay bug in the new GIN incomplete-split code.
Date: 2014-04-07 11:37:49
Message-ID: E1WX7s5-0006Ea-4Y@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix WAL replay bug in the new GIN incomplete-split code.

Forgot to set the incomplete-split flag on the left page half, in redo of a
page split.

Spotted this by comparing the page contents on master and standby, after
inserting/applying each WAL record.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/594bac42728fed67e05458633f35c2b1d7b38f1e

Modified Files
--------------
src/backend/access/gin/ginxlog.c | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2014-04-07 14:42:21 pgsql: Remove ipc_test.
Previous Message Simon Riggs 2014-04-06 16:26:04 pgsql: Extra warnings and errors for PL/pgSQL