|
7 | 7 | *
|
8 | 8 | *
|
9 | 9 | * IDENTIFICATION
|
10 |
| - * $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.172 2002/09/2003:52:50 momjian Exp $ |
| 10 | + * $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.173 2002/09/2015:29:44 momjian Exp $ |
11 | 11 | *
|
12 | 12 | *-------------------------------------------------------------------------
|
13 | 13 | */
|
@@ -1126,8 +1126,8 @@ CopyFrom(Relation rel, List *attnumlist, bool binary, bool oids,
|
1126 | 1126 | false);/* not coerced */
|
1127 | 1127 |
|
1128 | 1128 | /* Process constraints */
|
1129 |
| -node=coerce_type_constraints(pstate,(Node*)con, |
1130 |
| -attr[m]->atttypid, true); |
| 1129 | +node=coerce_type_constraints((Node*)con,attr[m]->atttypid, |
| 1130 | +COERCE_DONTCARE); |
1131 | 1131 |
|
1132 | 1132 | values[m]=ExecEvalExpr(node,econtext,
|
1133 | 1133 | &isNull,NULL);
|
|