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: 23ba3b5)
Use INT64_FORMAT when formatting int64 values in explain
Mon, 6 Apr 2020 23:16:57 +0000 (01:16 +0200)
Mon, 6 Apr 2020 23:16:57 +0000 (01:16 +0200)
Per report from lapwing.


diff --git a/src/backend/commands/explain.c b/src/backend/commands/explain.c
index c31f3e0987f0ff2cfd29f2f0d565681d74577fc7..cad10662bb086732ba9fa073fb1f8ea2dbd22801 100644 (file)
--- a/src/backend/commands/explain.c
+++ b/src/backend/commands/explain.c
@@ -2778,7 +2778,7 @@ show_incremental_sort_group_info(IncrementalSortGroupInfo *groupInfo,
{
if (indent)
appendStringInfoSpaces(es->str, es->indent * 2);
- appendStringInfo(es->str, "%s Groups: %ld Sort Method", groupLabel,
+ appendStringInfo(es->str, "%s Groups: " INT64_FORMAT " Sort Method", groupLabel,
groupInfo->groupCount);
/* plural/singular based on methodNames size */
if (list_length(methodNames) > 1)
This is the main PostgreSQL git repository.
RSS Atom

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