mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 06:21:09 +03:00
Message wording improvements
This commit is contained in:
@@ -1703,8 +1703,8 @@ CopyReadAttributesText(CopyFromState cstate)
|
||||
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_BAD_COPY_FILE_FORMAT),
|
||||
errmsg("unexpected DEFAULT in COPY data"),
|
||||
errdetail("Column \"%s\" has no DEFAULT value.",
|
||||
errmsg("unexpected default marker in COPY data"),
|
||||
errdetail("Column \"%s\" has no default value.",
|
||||
NameStr(att->attname))));
|
||||
}
|
||||
}
|
||||
@@ -1918,8 +1918,8 @@ endfield:
|
||||
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_BAD_COPY_FILE_FORMAT),
|
||||
errmsg("unexpected DEFAULT in COPY data"),
|
||||
errdetail("Column \"%s\" has no DEFAULT value.",
|
||||
errmsg("unexpected default marker in COPY data"),
|
||||
errdetail("Column \"%s\" has no default value.",
|
||||
NameStr(att->attname))));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user