Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit08a6d36

Browse files
committed
Use INT64_FORMAT instead of %ld for int64.
Commit0011c00 introduced thismistake.Patch by me. Reported by Andres Freund, who also reviewed thepatch.
1 parentc4901a1 commit08a6d36

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/backend/utils/sort/tuplesort.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2692,8 +2692,9 @@ beginmerge(Tuplesortstate *state, bool finalMergeBatch)
26922692
state->mergetuples[srcTape]+1023) /1024;
26932693
usedSlots=slotsPerTape-state->mergeavailslots[srcTape];
26942694

2695-
elog(LOG,"tape %d initially used %ld KB of %ld KB batch "
2696-
"(%2.3f) and %d out of %d slots (%2.3f)",srcTape,
2695+
elog(LOG,"tape %d initially used "INT64_FORMAT" KB of "
2696+
INT64_FORMAT" KB batch (%2.3f) and %d out of %d slots "
2697+
"(%2.3f)",srcTape,
26972698
usedSpaceKB,perTapeKB,
26982699
(double)usedSpaceKB / (double)perTapeKB,
26992700
usedSlots,slotsPerTape,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp