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.
Showing
- src/backend/access/gin/gindatapage.c 20 additions, 15 deletionssrc/backend/access/gin/gindatapage.c
- src/test/regress/expected/create_index.out 14 additions, 0 deletionssrc/test/regress/expected/create_index.out
- src/test/regress/sql/create_index.sql 14 additions, 0 deletionssrc/test/regress/sql/create_index.sql
Loading
Please register or sign in to comment