]> granicus.if.org Git - postgresql/commitdiff
Fix compile error from Rod's patch.
authorBruce Momjian <bruce@momjian.us>
Fri, 20 Sep 2002 15:29:44 +0000 (15:29 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 20 Sep 2002 15:29:44 +0000 (15:29 +0000)
src/backend/commands/copy.c

index 9ad7070f1e94f73bea1d1833e951caaa54f4f437..d43e2d73debeb3d48c28c24b65519d0592313bca 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * 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 */
 
                                /* Process constraints */
-                               node = coerce_type_constraints(pstate, (Node *) con,
-                                                                                          attr[m]->atttypid, true);
+                               node = coerce_type_constraints((Node *) con, attr[m]->atttypid,
+                                                                                               COERCE_DONTCARE);
 
                                values[m] = ExecEvalExpr(node, econtext,
                                                                                 &isNull, NULL);