Use int64 instead of long in incremental sort code
authorDavid Rowley <drowley@postgresql.org>
Sun, 2 Aug 2020 02:23:57 +0000 (14:23 +1200)
committerDavid Rowley <drowley@postgresql.org>
Sun, 2 Aug 2020 02:23:57 +0000 (14:23 +1200)
commit22c105595fc736ae94ce3b806da16b0bd8e94fb8
treea2a4d97effac2c7617bce0f5e3928dfe1179dc77
parent725b43b9c3b3c25c60ac717c41047ad0dffb1312
Use int64 instead of long in incremental sort code

Windows 64bit has 4-byte long values which is not suitable for tracking
disk space usage in the incremental sort code. Let's just make all these
fields int64s.

Author: James Coleman
Discussion: https://postgr.es/m/CAApHDvpky%2BUhof8mryPf5i%3D6e6fib2dxHqBrhp0Qhu0NeBhLJw%40mail.gmail.com
Backpatch-through: 13, where the incremental sort code was added
src/backend/commands/explain.c
src/include/nodes/execnodes.h
src/include/utils/tuplesort.h