8
8
*
9
9
*
10
10
* IDENTIFICATION
11
- * $PostgreSQL: pgsql/src/backend/commands/copy.c,v 1.305 2009/02/06 21:15:11 tgl Exp $
11
+ * $PostgreSQL: pgsql/src/backend/commands/copy.c,v 1.306 2009/03/26 19:24:54 tgl Exp $
12
12
*
13
13
*-------------------------------------------------------------------------
14
14
*/
@@ -855,11 +855,11 @@ DoCopy(const CopyStmt *stmt, const char *queryString)
855
855
cstate -> escape = cstate -> quote ;
856
856
}
857
857
858
- /* Only single-character delimiter strings are supported. */
858
+ /* Only single-byte delimiter strings are supported. */
859
859
if (strlen (cstate -> delim )!= 1 )
860
860
ereport (ERROR ,
861
861
(errcode (ERRCODE_FEATURE_NOT_SUPPORTED ),
862
- errmsg ("COPY delimiter must be a singleASCII character" )));
862
+ errmsg ("COPY delimiter must be a singleone-byte character" )));
863
863
864
864
/* Disallow end-of-line characters */
865
865
if (strchr (cstate -> delim ,'\r' )!= NULL ||
@@ -906,7 +906,7 @@ DoCopy(const CopyStmt *stmt, const char *queryString)
906
906
if (cstate -> csv_mode && strlen (cstate -> quote )!= 1 )
907
907
ereport (ERROR ,
908
908
(errcode (ERRCODE_FEATURE_NOT_SUPPORTED ),
909
- errmsg ("COPY quote must be a singleASCII character" )));
909
+ errmsg ("COPY quote must be a singleone-byte character" )));
910
910
911
911
if (cstate -> csv_mode && cstate -> delim [0 ]== cstate -> quote [0 ])
912
912
ereport (ERROR ,
@@ -922,7 +922,7 @@ DoCopy(const CopyStmt *stmt, const char *queryString)
922
922
if (cstate -> csv_mode && strlen (cstate -> escape )!= 1 )
923
923
ereport (ERROR ,
924
924
(errcode (ERRCODE_FEATURE_NOT_SUPPORTED ),
925
- errmsg ("COPY escape must be a singleASCII character" )));
925
+ errmsg ("COPY escape must be a singleone-byte character" )));
926
926
927
927
/* Check force_quote */
928
928
if (!cstate -> csv_mode && force_quote != NIL )