1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-19 13:42:17 +03:00

Get rid of COERCE_DONTCARE.

We don't need this hack any more.
This commit is contained in:
Tom Lane
2012-10-12 13:35:00 -04:00
parent 427fd88552
commit a29f7ed554
7 changed files with 16 additions and 18 deletions

View File

@@ -431,13 +431,13 @@ canonicalize_ec_expression(Expr *expr, Oid req_type, Oid req_collation)
req_type,
-1,
req_collation,
COERCE_DONTCARE);
COERCE_IMPLICIT_CAST);
else if (exprCollation((Node *) expr) != req_collation)
expr = (Expr *) makeRelabelType(expr,
req_type,
exprTypmod((Node *) expr),
req_collation,
COERCE_DONTCARE);
COERCE_IMPLICIT_CAST);
}
return expr;