diff options
author | Tomas Vondra <tomas.vondra@postgresql.org> | 2020-04-07 01:16:57 +0200 |
---|---|---|
committer | Tomas Vondra <tomas.vondra@postgresql.org> | 2020-04-07 01:16:57 +0200 |
commit | 4bea576b032d6e5435ef0946194aada314e67691 (patch) | |
tree | 854a861cb4663308e9b43021967e3aafcefa55a3 /src/backend/commands/explain.c | |
parent | 23ba3b5ee278847e4fad913b80950edb2838fd35 (diff) | |
download | postgresql-4bea576b032d6e5435ef0946194aada314e67691.tar.gz postgresql-4bea576b032d6e5435ef0946194aada314e67691.zip |
Use INT64_FORMAT when formatting int64 values in explain
Per report from lapwing.
Diffstat (limited to 'src/backend/commands/explain.c')
-rw-r--r-- | src/backend/commands/explain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/commands/explain.c b/src/backend/commands/explain.c index c31f3e0987f..cad10662bb0 100644 --- 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) |