From 0bd65a3905706927cdd6b3158b6457c1c854471b Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Mon, 18 Oct 2021 16:15:44 +0300 Subject: [PATCH] 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. --- src/backend/utils/sort/tuplesort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/utils/sort/tuplesort.c b/src/backend/utils/sort/tuplesort.c index d8e8ccad1f..0c5c574cbd 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