diff options
author | Alexander Korotkov | 2024-11-11 23:44:20 +0000 |
---|---|---|
committer | Alexander Korotkov | 2024-11-11 23:44:20 +0000 |
commit | db22b900244d3c51918acce44cbe5bb6f6507d32 (patch) | |
tree | f57f1f8e493d26e127f075b5b84fa60576e7f755 /src/common/psprintf.c | |
parent | 73c9f91a1b6d3753451993c5f06ba4b5ccc1f127 (diff) |
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
Diffstat (limited to 'src/common/psprintf.c')
0 files changed, 0 insertions, 0 deletions