]> granicus.if.org Git - postgresql/commitdiff
Update error message for COPY with a multi-byte delimiter.
authorBruce Momjian <bruce@momjian.us>
Wed, 18 Apr 2007 00:38:57 +0000 (00:38 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 18 Apr 2007 00:38:57 +0000 (00:38 +0000)
src/backend/commands/copy.c

index 42121f3fe45d6af3f3101c858b0965c707da5f57..193a50251ffb3004a126bbdce1d88011d5ae3c0e 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/backend/commands/copy.c,v 1.280 2007/04/16 01:14:55 tgl Exp $
+ *       $PostgreSQL: pgsql/src/backend/commands/copy.c,v 1.281 2007/04/18 00:38:57 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -857,7 +857,7 @@ DoCopy(const CopyStmt *stmt, const char *queryString)
        if (strlen(cstate->delim) != 1)
                ereport(ERROR,
                                (errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
-                                errmsg("COPY delimiter must be a single character")));
+                                errmsg("COPY delimiter must be a single ASCII character")));
 
        /* Disallow end-of-line characters */
        if (strchr(cstate->delim, '\r') != NULL ||