projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a59746d
)
Fix incorrect format placeholders
author
Peter Eisentraut
<
[email protected]
>
Wed, 13 Apr 2022 12:04:51 +0000
(14:04 +0200)
committer
Peter Eisentraut
<
[email protected]
>
Wed, 13 Apr 2022 12:04:51 +0000
(14:04 +0200)
src/backend/utils/error/jsonlog.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/utils/error/jsonlog.c
b/src/backend/utils/error/jsonlog.c
index f336c063e5848b5e72d380e50e1970dc25d5aa70..27ad7686d811784e797b2b0b99b30adbfdce448b 100644
(file)
--- a/
src/backend/utils/error/jsonlog.c
+++ b/
src/backend/utils/error/jsonlog.c
@@
-235,7
+235,7
@@
write_jsonlog(ErrorData *edata)
/* if printed internal query, print internal pos too */
if (edata->internalpos > 0 && edata->internalquery != NULL)
- appendJSONKeyValueFmt(&buf, "internal_position", false, "%
u
",
+ appendJSONKeyValueFmt(&buf, "internal_position", false, "%
d
",
edata->internalpos);
/* errcontext */