pgsql: Fix bug in compressed GIN data leaf page splitting code. - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Fix bug in compressed GIN data leaf page splitting code.
Date
Msg-id E1XNKL2-0007bK-B9@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix bug in compressed GIN data leaf page splitting code.

The list of posting lists it's dealing with can contain placeholders for
deleted posting lists. The placeholders are kept around so that they can
be WAL-logged, but we must be careful to not try to access them.

This fixes bug #11280, reported by Mårten Svantesson. Backpatch to 9.4,
where the compressed data leaf page code was added.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/88231ec5784a00ce406553276be8a5a443dd3ba0

Modified Files
--------------
src/backend/access/gin/gindatapage.c |   28 ++++++++++++++++------------
1 file changed, 16 insertions(+), 12 deletions(-)


pgsql-committers by date:

Previous
From:
Date:
Subject: ...
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Fix bug in compressed GIN data leaf page splitting code.