Skip to content

Commit 4029a5a

Browse files
committed
Update error message for COPY with a multi-byte delimiter.
1 parent 739425d commit 4029a5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/commands/copy.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/commands/copy.c,v 1.280 2007/04/16 01:14:55 tgl Exp $
11+
* $PostgreSQL: pgsql/src/backend/commands/copy.c,v 1.281 2007/04/18 00:38:57 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -857,7 +857,7 @@ DoCopy(const CopyStmt *stmt, const char *queryString)
857857
if (strlen(cstate->delim) != 1)
858858
ereport(ERROR,
859859
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
860-
errmsg("COPY delimiter must be a single character")));
860+
errmsg("COPY delimiter must be a single ASCII character")));
861861

862862
/* Disallow end-of-line characters */
863863
if (strchr(cstate->delim, '\r') != NULL ||

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy