From: Peter Eisentraut Date: Tue, 9 Apr 2024 12:33:06 +0000 (+0200) Subject: Fix incorrect format placeholders X-Git-Tag: REL_17_BETA1~298 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=27074bce08e994daf6b8fe9a84877ac257210fdd;p=thirdparty%2Fpostgresql.git Fix incorrect format placeholders --- diff --git a/src/backend/commands/explain.c b/src/backend/commands/explain.c index 2c5d980f729..c0c73aa3c9c 100644 --- a/src/backend/commands/explain.c +++ b/src/backend/commands/explain.c @@ -1118,12 +1118,12 @@ ExplainPrintSerialize(ExplainState *es, SerializeMetrics *metrics) { ExplainIndentText(es); if (es->timing) - appendStringInfo(es->str, "Serialization: time=%.3f ms output=" INT64_FORMAT "kB format=%s\n", + appendStringInfo(es->str, "Serialization: time=%.3f ms output=" UINT64_FORMAT "kB format=%s\n", 1000.0 * INSTR_TIME_GET_DOUBLE(metrics->timeSpent), (metrics->bytesSent + 512) / 1024, format); else - appendStringInfo(es->str, "Serialization: output=" INT64_FORMAT "kB format=%s\n", + appendStringInfo(es->str, "Serialization: output=" UINT64_FORMAT "kB format=%s\n", (metrics->bytesSent + 512) / 1024, format);