git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cfd6ea3)
Fix incorrect format placeholders
Tue, 9 Apr 2024 12:33:06 +0000 (14:33 +0200)
Tue, 9 Apr 2024 12:33:06 +0000 (14:33 +0200)

diff --git a/src/backend/commands/explain.c b/src/backend/commands/explain.c
index 2c5d980f7291da006d39f56d5fa28a2e2c270e94..c0c73aa3c9c742ba60a586bff8e8845f3615450c 100644 (file)
--- 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);
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /