diff options
| -rw-r--r-- | src/backend/utils/sort/tuplesort.c | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/src/backend/utils/sort/tuplesort.c b/src/backend/utils/sort/tuplesort.c index dbedc270537..d033c95e789 100644 --- a/src/backend/utils/sort/tuplesort.c +++ b/src/backend/utils/sort/tuplesort.c @@ -2692,8 +2692,9 @@ beginmerge(Tuplesortstate *state, bool finalMergeBatch)  							   state->mergetuples[srcTape] + 1023) / 1024;  				usedSlots = slotsPerTape - state->mergeavailslots[srcTape]; -				elog(LOG, "tape %d initially used %ld KB of %ld KB batch " -					 "(%2.3f) and %d out of %d slots (%2.3f)", srcTape, +				elog(LOG, "tape %d initially used " INT64_FORMAT " KB of " +					 INT64_FORMAT " KB batch (%2.3f) and %d out of %d slots " +					 "(%2.3f)", srcTape,  					 usedSpaceKB, perTapeKB,  					 (double) usedSpaceKB / (double) perTapeKB,  					 usedSlots, slotsPerTape, | 
