postgresql/src/backend
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
..
access Fix improper interactions between session_authorization and role. 2024-11-11 10:29:54 -05:00
archive Apply more quoting to GUC names in messages 2024-09-04 13:50:44 +09:00
backup Remove unused #include's from backend .c files 2024-10-27 08:26:50 +01:00
bootstrap Increase the number of fast-path lock slots 2024-09-21 20:09:35 +02:00
catalog Add two attributes to pg_stat_database for parallel workers activity 2024-11-11 10:40:48 +09:00
commands Fix arrays comparison in CompareOpclassOptions() 2024-11-12 01:44:20 +02:00
executor Ensure cached plans are correctly marked as dependent on role. 2024-11-11 09:00:00 -06:00
foreign Improve style of two code paths 2024-10-08 10:51:20 +09:00
jit Monkey-patch LLVM code to fix ARM relocation bug. 2024-11-06 23:17:18 +13:00
lib Revert pg_wal_replay_wait() stored procedure 2024-11-04 22:47:57 +02:00
libpq Remove unused #include's from backend .c files 2024-10-27 08:26:50 +01:00
main Remove unused #include's from backend .c files 2024-10-27 08:26:50 +01:00
nodes Add pg_constraint rows for not-null constraints 2024-11-08 13:28:48 +01:00
optimizer Improve fix for not entering parallel mode when holding interrupts. 2024-11-08 13:42:10 -05:00
parser Add pg_constraint rows for not-null constraints 2024-11-08 13:28:48 +01:00
partitioning Revert support for ALTER TABLE ... MERGE/SPLIT PARTITION(S) commands 2024-08-24 18:48:48 +03:00
po Translation updates 2024-06-24 13:11:27 +02:00
port Require memory barrier support. 2024-07-30 23:01:55 +12:00
postmaster Rename two functions that wake up other processes 2024-11-01 13:47:24 +02:00
regex Simplify checks for deterministic collations. 2024-09-12 13:35:56 -07:00
replication Add pg_constraint rows for not-null constraints 2024-11-08 13:28:48 +01:00
rewrite Ensure cached plans are correctly marked as dependent on role. 2024-11-11 09:00:00 -06:00
snowball Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
statistics Add missing CommandCounterIncrement() in stats import functions. 2024-10-29 10:14:23 -07:00
storage Revert pg_wal_replay_wait() stored procedure 2024-11-04 22:47:57 +02:00
tcop doc: Remove event trigger firing matrix 2024-11-06 13:43:17 +01:00
tsearch Constify fields and parameters in spell.c 2024-08-06 23:04:51 +03:00
utils Parallel workers use AuthenticatedUserId for connection privilege checks. 2024-11-11 17:05:53 -05:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
common.mk Blind attempt to fix LLVM dependency in the backend 2022-09-15 10:53:48 +07:00
Makefile Fix make build on MinGW 2024-06-21 08:17:23 +02:00
meson.build meson: Fix import library name in Windows 2024-06-20 09:08:36 +02:00
nls.mk Add missing gettext triggers 2024-05-14 12:57:22 +02:00