Skip to content

Commit 27074bc

Browse files
committed
Fix incorrect format placeholders
1 parent cfd6ea3 commit 27074bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/commands/explain.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1118,12 +1118,12 @@ ExplainPrintSerialize(ExplainState *es, SerializeMetrics *metrics)
11181118
{
11191119
ExplainIndentText(es);
11201120
if (es->timing)
1121-
appendStringInfo(es->str, "Serialization: time=%.3f ms output=" INT64_FORMAT "kB format=%s\n",
1121+
appendStringInfo(es->str, "Serialization: time=%.3f ms output=" UINT64_FORMAT "kB format=%s\n",
11221122
1000.0 * INSTR_TIME_GET_DOUBLE(metrics->timeSpent),
11231123
(metrics->bytesSent + 512) / 1024,
11241124
format);
11251125
else
1126-
appendStringInfo(es->str, "Serialization: output=" INT64_FORMAT "kB format=%s\n",
1126+
appendStringInfo(es->str, "Serialization: output=" UINT64_FORMAT "kB format=%s\n",
11271127
(metrics->bytesSent + 512) / 1024,
11281128
format);
11291129

0 commit comments

Comments
 (0)