Re: BUG #18692: Segmentation fault when extending a varchar column with a gist index with custom signal length - Mailing list pgsql-bugs

From Alexander Korotkov
Subject Re: BUG #18692: Segmentation fault when extending a varchar column with a gist index with custom signal length
Date
Msg-id CAPpHfdsedeW4qiF_Ky88u=+0Ep7ZGH5yBd47a-rueQ2_jh3Dhw@mail.gmail.com
Whole thread Raw
In response to Re: BUG #18692: Segmentation fault when extending a varchar column with a gist index with custom signal length  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On Wed, Nov 6, 2024 at 7:08 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> PG Bug reporting form <noreply@postgresql.org> writes:
> > When extending a varchar column with a gist index with a custom signal
> > length the Postgres server crashes with a segmentation fault.
>
> What this shows is that CompareOpclassOptions has never been tested
> at all except with null inputs.  It's trying to call array_eq
> without providing an FmgrInfo.

Thank you for inviting me to the thread.  I'm on and will provide a fix shortly.

------
Regards,
Alexander Korotkov
Supabase



pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #18692: Segmentation fault when extending a varchar column with a gist index with custom signal length
Next
From: PG Bug reporting form
Date:
Subject: BUG #18693: Column names not set when using SELECT STRICT INTO with RECORD type