Fix spelling in notice

Reported-by: Atsushi Torikoshi
Discussion: https://postgr.es/m/762d7dd4d5aa9e5ecffec2ae6a255a28%40oss.nttdata.com
This commit is contained in:
Alexander Korotkov 2024-01-17 22:59:09 +02:00
parent 2b53a462cf
commit 58fbbc9d68
1 changed files with 1 additions and 1 deletions

View File

@ -1310,7 +1310,7 @@ CopyFrom(CopyFromState cstate)
if (cstate->opts.save_error_to != COPY_SAVE_ERROR_TO_ERROR &&
cstate->num_errors > 0)
ereport(NOTICE,
errmsg_plural("%llu row were skipped due to data type incompatibility",
errmsg_plural("%llu row was skipped due to data type incompatibility",
"%llu rows were skipped due to data type incompatibility",
(unsigned long long) cstate->num_errors,
(unsigned long long) cstate->num_errors));