diff options
| author | Alexander Korotkov <akorotkov@postgresql.org> | 2024-11-12 01:44:20 +0200 |
|---|---|---|
| committer | Alexander Korotkov <akorotkov@postgresql.org> | 2024-11-12 01:54:38 +0200 |
| commit | 5411e821386ce5c9ec794bbc9540c7c4a1acaa46 (patch) | |
| tree | a24e74c2c01ee2a3997f30113b5f2e92cd7dd1b0 /contrib/btree_gist/btree_bit.c | |
| parent | 64ecc00908b7557afa911c15bb342ff06845bb19 (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 'contrib/btree_gist/btree_bit.c')
0 files changed, 0 insertions, 0 deletions
