Commit 5d115bb5 authored by Bruce Momjian's avatar Bruce Momjian

Change domain patch to COERCE_IMPLICIT_CAST, per Tom.

parent a1199e0c
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.173 2002/09/20 15:29:44 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.174 2002/09/20 15:43:03 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -1127,7 +1127,7 @@ CopyFrom(Relation rel, List *attnumlist, bool binary, bool oids, ...@@ -1127,7 +1127,7 @@ CopyFrom(Relation rel, List *attnumlist, bool binary, bool oids,
/* Process constraints */ /* Process constraints */
node = coerce_type_constraints((Node *) con, attr[m]->atttypid, node = coerce_type_constraints((Node *) con, attr[m]->atttypid,
COERCE_DONTCARE); COERCE_IMPLICIT_CAST);
values[m] = ExecEvalExpr(node, econtext, values[m] = ExecEvalExpr(node, econtext,
&isNull, NULL); &isNull, NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment