diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2021-10-18 16:15:44 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2021-10-18 16:15:44 +0300 |
commit | 0bd65a3905706927cdd6b3158b6457c1c854471b (patch) | |
tree | 649de62b895ba51c97325d0a3480415c0a70e834 | |
parent | 65014000b351d5725eb00d133416ab1b4f8245b1 (diff) | |
download | postgresql-0bd65a3905706927cdd6b3158b6457c1c854471b.tar.gz postgresql-0bd65a3905706927cdd6b3158b6457c1c854471b.zip |
Fix format modifier used in elog.
The previous commit 65014000b3 changed the variable passed to elog
from an int64 to a size_t variable, but neglected to change the modifier
in the format string accordingly.
Per failure on buildfarm member lapwing.
-rw-r--r-- | src/backend/utils/sort/tuplesort.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/sort/tuplesort.c b/src/backend/utils/sort/tuplesort.c index d8e8ccad1ff..0c5c574cbd3 100644 --- a/src/backend/utils/sort/tuplesort.c +++ b/src/backend/utils/sort/tuplesort.c @@ -2911,7 +2911,7 @@ mergeruns(Tuplesortstate *state) USEMEM(state, state->availMem); #ifdef TRACE_SORT if (trace_sort) - elog(LOG, "worker %d using " INT64_FORMAT " KB of memory for tape buffers", + elog(LOG, "worker %d using %zu KB of memory for tape buffers", state->worker, state->tape_buffer_mem / 1024); #endif |