Fix spelling in notice
authorAlexander Korotkov
Wed, 17 Jan 2024 20:59:09 +0000 (22:59 +0200)
committerAlexander Korotkov
Wed, 17 Jan 2024 20:59:09 +0000 (22:59 +0200)
Reported-by: Atsushi Torikoshi
Discussion: https://postgr.es/m/762d7dd4d5aa9e5ecffec2ae6a255a28%40oss.nttdata.com

src/backend/commands/copyfrom.c

index 4058b08134d1a866412fd8ccaabe9b06b8991655..50e245d555cdb311cd75744be4d8eb65f727498f 100644 (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));