mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
Per-column collation support
This adds collation support for columns and domains, a COLLATE clause to override it per expression, and B-tree index support. Peter Eisentraut reviewed by Pavel Stehule, Itagaki Takahiro, Robert Haas, Noah Misch
This commit is contained in:
@ -150,6 +150,9 @@ ExecInitMergeAppend(MergeAppend *node, EState *estate, int eflags)
|
||||
sortFunction,
|
||||
(Datum) 0);
|
||||
|
||||
ScanKeyEntryInitializeCollation(&mergestate->ms_scankeys[i],
|
||||
node->collations[i]);
|
||||
|
||||
/* However, we use btree's conventions for encoding directionality */
|
||||
if (reverse)
|
||||
mergestate->ms_scankeys[i].sk_flags |= SK_BT_DESC;
|
||||
|
Reference in New Issue
Block a user