pgsql: Fix bug in the new GIN incomplete-split code. - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Fix bug in the new GIN incomplete-split code.
Date
Msg-id E1WV4h6-00069S-U6@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix bug in the new GIN incomplete-split code.

Inserting a downlink to an internal page clears the incomplete-split flag
of the child's left sibling, so the left sibling's LSN also needs to be
updated and it needs to be marked dirty. The codepath for an insertion got
this right, but the case where the internal node is split because of
inserting the new downlink missed that.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8bbbcb91bae1489471d11fef269533bc4df2f766

Modified Files
--------------
src/backend/access/gin/ginbtree.c |    4 ++++
1 file changed, 4 insertions(+)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Doc: improve discussion of reverse+forward host name lookup in p
Next
From: Tom Lane
Date:
Subject: pgsql: Fix bugs in manipulation of PgBackendStatus.st_clienthostname.