Use INT64_FORMAT to print int64 variables in sort debug
authorTomas Vondra <tomas.vondra@postgresql.org>
Tue, 3 Nov 2020 19:43:12 +0000 (20:43 +0100)
committerTomas Vondra <tomas.vondra@postgresql.org>
Tue, 3 Nov 2020 21:31:57 +0000 (22:31 +0100)
commit90851d1d26f54ccb4d7b1bc49449138113d6ec83
tree60f73bee924cf06c61c15ae9a4ada81b0412b7e3
parentebb7ae839d033d0f279670e249f54646a08b8c48
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
src/backend/executor/nodeIncrementalSort.c