pgsql: Use INT64_FORMAT to print int64 variables in sort debug

From: Tomas Vondra <tomas(dot)vondra(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use INT64_FORMAT to print int64 variables in sort debug
Date: 2020-11-03 21:32:49
Message-ID: E1ka3v7-0006CS-CI@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Use INT64_FORMAT to print int64 variables in sort debug

Commit 6ee3b5fb99 cleaned up most of the long/int64 confusion related to
incremental sort, but the sort debug messages were still using %ld for
int64 variables. So fix that.

Author: Haiying Tang
Backpatch-through: 13, where the incremental sort code was added
Discussion: https://postgr.es/m/4250be9d350c4992abb722a76e288aef%40G08CNEXMBPEKD05.g08.fujitsu.local

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/90851d1d26f54ccb4d7b1bc49449138113d6ec83

Modified Files
--------------
src/backend/executor/nodeIncrementalSort.c | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tomas Vondra 2020-11-03 21:33:01 pgsql: Fix get_useful_pathkeys_for_relation for volatile expressions
Previous Message Tom Lane 2020-11-03 21:16:51 pgsql: Guard against core dump from uninitialized subplan.