1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-08 11:42:09 +03:00

Fix compile error from Rod's patch.

This commit is contained in:
Bruce Momjian
2002-09-20 15:29:44 +00:00
parent 0adb4169ca
commit a1199e0c4c

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.172 2002/09/20 03:52:50 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.173 2002/09/20 15:29:44 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -1126,8 +1126,8 @@ CopyFrom(Relation rel, List *attnumlist, bool binary, bool oids,
false); /* not coerced */ false); /* not coerced */
/* Process constraints */ /* Process constraints */
node = coerce_type_constraints(pstate, (Node *) con, node = coerce_type_constraints((Node *) con, attr[m]->atttypid,
attr[m]->atttypid, true); COERCE_DONTCARE);
values[m] = ExecEvalExpr(node, econtext, values[m] = ExecEvalExpr(node, econtext,
&isNull, NULL); &isNull, NULL);