]> granicus.if.org Git - postgresql/commit
Fix another palloc in critical section.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Sat, 5 Apr 2014 19:02:28 +0000 (22:02 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Sat, 5 Apr 2014 19:15:58 +0000 (22:15 +0300)
commitffbba6ee1244901b492fe268ea94f72e35aedf38
treeafdd2b33949d7733b253baff5c3d98336fc86430
parent6862ca6970d11c47996d99e49a1cf8b55ef9b40d
Fix another palloc in critical section.

Also add a regression test for a GIN index with enough items with the same
key, so that a GIN posting tree gets created. Apparently none of the
existing GIN tests were large enough for that.

This code is new, no backpatching required.
src/backend/access/gin/gindatapage.c
src/test/regress/expected/create_index.out
src/test/regress/sql/create_index.sql