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:32:34 +0000 (22:32 +0100)
commit7d39586a59c6f5816a068bd38e1e4887d4c984ff
treef0253025b44f84c08d5dfcf44c44eb0952a9b10c
parent2d26c4ac703447a002a02124c1edd01e70a5d1ee
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