Use int64 instead of long in incremental sort code
authorDavid Rowley <drowley@postgresql.org>
Sun, 2 Aug 2020 02:24:46 +0000 (14:24 +1200)
committerDavid Rowley <drowley@postgresql.org>
Sun, 2 Aug 2020 02:24:46 +0000 (14:24 +1200)
commit6ee3b5fb990ea11992b0db960d79b1fbe7b5e8e5
tree2af02411a15c6ac81a09eca50cc6c7d7f137e8d7
parentcd5e82256de5895595cdd99ecb03aea15b346f71
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