postgresql/src
Alexander Korotkov db22b90024 Fix arrays comparison in CompareOpclassOptions()
The current code calls array_eq() and does not provide FmgrInfo.  This commit
provides initialization of FmgrInfo and uses C collation as the safe option
for text comparison because we don't know anything about the semantics of
opclass options.

Backpatch to 13, where opclass options were introduced.

Reported-by: Nicolas Maus
Discussion: https://postgr.es/m/18692-72ea398df3ec6712%40postgresql.org
Backpatch-through: 13
2024-11-12 01:44:20 +02:00
..
backend Fix arrays comparison in CompareOpclassOptions() 2024-11-12 01:44:20 +02:00
bin Add pg_constraint rows for not-null constraints 2024-11-08 13:28:48 +01:00
common Remove unused #include's from bin .c files 2024-11-06 11:11:52 +01:00
fe_utils Remove unused #include's from bin .c files 2024-11-06 11:11:52 +01:00
include Fix improper interactions between session_authorization and role. 2024-11-11 10:29:54 -05:00
interfaces libpq: Bail out during SSL/GSS negotiation errors 2024-11-11 10:19:52 +09:00
makefiles Use __attribute__((target(...))) for AVX-512 support. 2024-11-07 13:58:43 -06:00
pl Fix cross-version upgrade tests. 2024-11-11 13:57:21 -05:00
port Move check for USE_AVX512_POPCNT_WITH_RUNTIME_CHECK. 2024-11-08 14:25:28 -06:00
template thread-safety: gmtime_r(), localtime_r() 2024-08-23 07:43:04 +02:00
test Fix improper interactions between session_authorization and role. 2024-11-11 10:29:54 -05:00
timezone Update time zone data files to tzdata release 2024b. 2024-10-29 11:49:38 -04:00
tools Ensure cached plans are correctly marked as dependent on role. 2024-11-11 09:00:00 -06:00
tutorial Update copyright for 2024 2024-01-03 20:49:05 -05:00
.gitignore
DEVELOPERS
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
Makefile.global.in Use __attribute__((target(...))) for AVX-512 support. 2024-11-07 13:58:43 -06:00
Makefile.shlib Remove AIX support 2024-02-28 15:17:23 +04:00
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00
nls-global.mk Remove distprep 2023-11-06 15:18:04 +01:00