]> granicus.if.org Git - postgresql/commit
Fix bug in compressed GIN data leaf page splitting code.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 29 Aug 2014 11:19:34 +0000 (14:19 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 29 Aug 2014 11:22:36 +0000 (14:22 +0300)
commit08bff295a7e7ac66a35f42e92e97782b9af64cdc
treeabe17c7bda3a04e7888a41e6fa9423dc42735429
parentc573e9d7760869a0db6343b2a7353309045e05ab
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.
src/backend/access/gin/gindatapage.c