mirror of
https://github.com/postgres/postgres.git
synced 2025-06-14 18:42:34 +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:
@ -87,7 +87,7 @@ compute_return_type(TypeName *returnType, Oid languageOid,
|
||||
Oid rettype;
|
||||
Type typtup;
|
||||
|
||||
typtup = LookupTypeName(NULL, returnType, NULL);
|
||||
typtup = LookupTypeName(NULL, returnType, NULL, NULL);
|
||||
|
||||
if (typtup)
|
||||
{
|
||||
@ -207,7 +207,7 @@ examine_parameter_list(List *parameters, Oid languageOid,
|
||||
Oid toid;
|
||||
Type typtup;
|
||||
|
||||
typtup = LookupTypeName(NULL, t, NULL);
|
||||
typtup = LookupTypeName(NULL, t, NULL, NULL);
|
||||
if (typtup)
|
||||
{
|
||||
if (!((Form_pg_type) GETSTRUCT(typtup))->typisdefined)
|
||||
|
Reference in New Issue
Block a user