aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/error/jsonlog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/utils/error/jsonlog.c')
-rw-r--r--src/backend/utils/error/jsonlog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/error/jsonlog.c b/src/backend/utils/error/jsonlog.c
index f336c063e58..27ad7686d81 100644
--- 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 */