Use INT64_FORMAT when formatting int64 values in explain

Per report from lapwing.
pull/51/head
Tomas Vondra 6 years ago
parent 23ba3b5ee2
commit 4bea576b03
  1. 2
      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)

Loading…
Cancel
Save