Skip to content

Commit a038679

Browse files
committed
Fix incorrect format placeholders
1 parent a59746d commit a038679

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/utils/error/jsonlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ write_jsonlog(ErrorData *edata)
235235

236236
/* if printed internal query, print internal pos too */
237237
if (edata->internalpos > 0 && edata->internalquery != NULL)
238-
appendJSONKeyValueFmt(&buf, "internal_position", false, "%u",
238+
appendJSONKeyValueFmt(&buf, "internal_position", false, "%d",
239239
edata->internalpos);
240240

241241
/* errcontext */

0 commit comments

Comments
 (0)