projects
/
users
/
andresfreund
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23ba3b5
)
Use INT64_FORMAT when formatting int64 values in explain
author
Tomas Vondra
<
[email protected]
>
Mon, 6 Apr 2020 23:16:57 +0000
(
01:16
+0200)
committer
Tomas Vondra
<
[email protected]
>
Mon, 6 Apr 2020 23:16:57 +0000
(
01:16
+0200)
Per report from lapwing.
src/backend/commands/explain.c
patch
|
blob
|
blame
|
history
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)