Commit 4bea576b authored by Tomas Vondra's avatar Tomas Vondra

Use INT64_FORMAT when formatting int64 values in explain

Per report from lapwing.
parent 23ba3b5e
...@@ -2778,7 +2778,7 @@ show_incremental_sort_group_info(IncrementalSortGroupInfo *groupInfo, ...@@ -2778,7 +2778,7 @@ show_incremental_sort_group_info(IncrementalSortGroupInfo *groupInfo,
{ {
if (indent) if (indent)
appendStringInfoSpaces(es->str, es->indent * 2); 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); groupInfo->groupCount);
/* plural/singular based on methodNames size */ /* plural/singular based on methodNames size */
if (list_length(methodNames) > 1) if (list_length(methodNames) > 1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment