We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e2d870 commit 8ad1f7dCopy full SHA for 8ad1f7d
src/backend/commands/copyfrom.c
@@ -1310,10 +1310,10 @@ CopyFrom(CopyFromState cstate)
1310
if (cstate->opts.save_error_to != COPY_SAVE_ERROR_TO_ERROR &&
1311
cstate->num_errors > 0)
1312
ereport(NOTICE,
1313
- errmsg_plural("%zd row were skipped due to data type incompatibility",
1314
- "%zd rows were skipped due to data type incompatibility",
1315
- cstate->num_errors,
1316
- cstate->num_errors));
+ errmsg_plural("%llu row were 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));
1317
1318
if (bistate != NULL)
1319
FreeBulkInsertState(bistate);
0 commit comments