Re: [HACKERS] Another assert failure from no-palloc-in-critical-sections

2014-04-05 Thread Alvaro Herrera
Heikki Linnakangas wrote: > I'm surprised none of the existing regression tests caught that. > Apparently none of them create a GIN index with enough duplicate > keys that it would create a posting tree. I added one. Perhaps the --enable-coverage option to configure, and related make targets, cou

Re: [HACKERS] Another assert failure from no-palloc-in-critical-sections

2014-04-05 Thread Heikki Linnakangas
On 04/05/2014 08:08 PM, Tom Lane wrote: I tried the test case given in http://www.postgresql.org/message-id/dafad644f268ce1503e1b8b682aae38a.squir...@webmail.xs4all.nl on HEAD. It asserted here: ... #5 0x0046b92b in createPostingTree (index=0x7f1348ae31e0, items=0x7f13343bb048, nit

[HACKERS] Another assert failure from no-palloc-in-critical-sections

2014-04-05 Thread Tom Lane
I tried the test case given in http://www.postgresql.org/message-id/dafad644f268ce1503e1b8b682aae38a.squir...@webmail.xs4all.nl on HEAD. It asserted here: #2 0x0077b419 in ExceptionalCondition ( conditionName=, errorType=, fileName=, lineNumber=) at assert.c:54 #3 0x000