1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-09 18:21:05 +03:00

Fix incorrect format placeholders

This commit is contained in:
Peter Eisentraut 2022-04-13 14:04:51 +02:00
parent a59746d311
commit a038679cd8

View File

@ -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 */