Re: BUG #16162: create index using gist_trgm_ops leads to panic - Mailing list pgsql-bugs

From Alexander Lakhin
Subject Re: BUG #16162: create index using gist_trgm_ops leads to panic
Date
Msg-id 4dc09c87-c10d-801e-830b-ae82de53a4a0@gmail.com
Whole thread Raw
In response to Re: BUG #16162: create index using gist_trgm_ops leads to panic  (Heikki Linnakangas <hlinnaka@iki.fi>)
List pgsql-bugs
Hello Heikki,
16.12.2019 15:02, Heikki Linnakangas wrote:
>
> I added the "stack-downlinkoffnum = InvalidOffsetNumber" to the first
> call on Friday. But the second call needs the same treatment, because
> it's possible that we reuse the same stack on a later call to
> gistfinishsplit(), if a grandchild page is split twice, for the same
> leaf insert. I feel pretty dumb, because I looked at that second call
> on Friday too, thinking if it also needs to reset 'downlinkoffnum',
> but somehow I concluded it does not. Clearly it does, as this test
> case demonstrates.
>
> Fix committed. Thanks again for the report!
I can confirm that now the issue is gone.
Thank you!

Best regards,
Alexander



pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #16168: Full text search parser prefers "file" over "asciiword"
Next
From: Alvaro Herrera
Date:
Subject: Re: Missing locales prevent autovacuum