1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-25 21:42:33 +03:00

Change domain patch to COERCE_IMPLICIT_CAST, per Tom.

This commit is contained in:
Bruce Momjian 2002-09-20 15:43:03 +00:00
parent a1199e0c4c
commit 5d115bb548

View File

@ -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,
/* 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);