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>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: nicolas.maus@bertelsmann.de
Cc: Alexander Korotkov <aekorotkov@gmail.com>, pgsql-bugs@lists.postgresql.org
Date: 2024-11-06T17:08:53Z
Lists: pgsql-bugs
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.

			regards, tom lane



Commits

  1. Fix arrays comparison in CompareOpclassOptions()