Re: BUG #17847: Unaligned memory access in ltree_gist

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alexander Korotkov <aekorotkov@gmail.com>
Cc: Pavel Borisov <pashkin.elfe@gmail.com>, Alexander Lakhin <exclusion@gmail.com>, pgsql-bugs@lists.postgresql.org
Date: 2023-04-19T16:47:15Z
Lists: pgsql-bugs
Alexander Korotkov <aekorotkov@gmail.com> writes:
> [ v4 patches ]

I think you forgot to adjust the expected output in ltree.out.
LGTM otherwise.  I agree with back-patching.

			regards, tom lane



Commits

  1. Validate ltree siglen GiST option to be int-aligned

  2. Fix custom validators call in build_local_reloptions()