summaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.source
diff options
context:
space:
mode:
authorAlexander Korotkov <akorotkov@postgresql.org>2024-11-12 01:44:20 +0200
committerAlexander Korotkov <akorotkov@postgresql.org>2024-11-12 01:51:20 +0200
commita6fa869cfa4e8f0226f22f717f5b0aa5eed60588 (patch)
treeef362996ccb91f09df8a8d72038961f8c9a1d5d2 /src/tutorial/funcs.source
parent91f20bc2f7e4fcf5de5c65a6cb1190e0afa91c0b (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/tutorial/funcs.source')
0 files changed, 0 insertions, 0 deletions