diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2003-09-25 06:58:07 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2003-09-25 06:58:07 +0000 |
commit | feb4f44d296b88b7f0723f4a4f3945a371276e0b (patch) | |
tree | 6acfa253cd3896fa96124fdcefdbc8e5cb5bb0da /src/backend/commands/copy.c | |
parent | 42013caf648ad4bd64b130efda760cdb1620e953 (diff) | |
download | postgresql-feb4f44d296b88b7f0723f4a4f3945a371276e0b.tar.gz postgresql-feb4f44d296b88b7f0723f4a4f3945a371276e0b.zip |
Message editing: remove gratuitous variations in message wording, standardize
terms, add some clarifications, fix some untranslatable attempts at dynamic
message building.
Diffstat (limited to 'src/backend/commands/copy.c')
-rw-r--r-- | src/backend/commands/copy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/commands/copy.c b/src/backend/commands/copy.c index aa50e1dec55..faf982167bb 100644 --- a/src/backend/commands/copy.c +++ b/src/backend/commands/copy.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.210 2003/08/28 13:52:34 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.211 2003/09/25 06:57:58 petere Exp $ * *------------------------------------------------------------------------- */ @@ -282,7 +282,7 @@ CopySendData(void *databuf, int datasize) if (ferror(copy_file)) ereport(ERROR, (errcode_for_file_access(), - errmsg("failed to write COPY file: %m"))); + errmsg("could not write to COPY file: %m"))); break; case COPY_OLD_FE: if (pq_putbytes((char *) databuf, datasize)) @@ -2064,7 +2064,7 @@ CopyGetAttnums(Relation rel, List *attnamelist) if (intMember(attnum, attnums)) ereport(ERROR, (errcode(ERRCODE_DUPLICATE_COLUMN), - errmsg("attribute \"%s\" specified more than once", + errmsg("column \"%s\" specified more than once", name))); attnums = lappendi(attnums, attnum); } |