mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +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:
@ -747,6 +747,7 @@ rewriteTargetListIU(Query *parsetree, Relation target_relation,
|
||||
attrno,
|
||||
att_tup->atttypid,
|
||||
att_tup->atttypmod,
|
||||
att_tup->attcollation,
|
||||
0);
|
||||
|
||||
new_tle = makeTargetEntry((Expr *) new_expr,
|
||||
@ -1127,6 +1128,7 @@ rewriteTargetListUD(Query *parsetree, RangeTblEntry *target_rte,
|
||||
SelfItemPointerAttributeNumber,
|
||||
TIDOID,
|
||||
-1,
|
||||
InvalidOid,
|
||||
0);
|
||||
|
||||
attrname = "ctid";
|
||||
|
Reference in New Issue
Block a user