mirror of
https://github.com/postgres/postgres.git
synced 2025-11-18 02:02:55 +03:00
Use PRI?64 instead of "ll?" in format strings (continued).
Continuation of work started in commit 15a79c73, after initial trial.
Author: Thomas Munro <thomas.munro@gmail.com>
Discussion: https://postgr.es/m/b936d2fb-590d-49c3-a615-92c3a88c6c19%40eisentraut.org
This commit is contained in:
@@ -1053,16 +1053,16 @@ CopyFromTextLikeOneRow(CopyFromState cstate, ExprContext *econtext,
|
||||
|
||||
attval = CopyLimitPrintoutLength(cstate->cur_attval);
|
||||
ereport(NOTICE,
|
||||
errmsg("skipping row due to data type incompatibility at line %llu for column \"%s\": \"%s\"",
|
||||
(unsigned long long) cstate->cur_lineno,
|
||||
errmsg("skipping row due to data type incompatibility at line %" PRIu64 " for column \"%s\": \"%s\"",
|
||||
cstate->cur_lineno,
|
||||
cstate->cur_attname,
|
||||
attval));
|
||||
pfree(attval);
|
||||
}
|
||||
else
|
||||
ereport(NOTICE,
|
||||
errmsg("skipping row due to data type incompatibility at line %llu for column \"%s\": null input",
|
||||
(unsigned long long) cstate->cur_lineno,
|
||||
errmsg("skipping row due to data type incompatibility at line %" PRIu64 " for column \"%s\": null input",
|
||||
cstate->cur_lineno,
|
||||
cstate->cur_attname));
|
||||
|
||||
/* reset relname_only */
|
||||
|
||||
Reference in New Issue
Block a user