pgsql: Use int64 instead of long in incremental sort code

Поиск
Список
Период
Сортировка
От David Rowley
Тема pgsql: Use int64 instead of long in incremental sort code
Дата
Msg-id E1k23fv-0001Ad-5m@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/22c105595fc736ae94ce3b806da16b0bd8e94fb8

Modified Files
--------------
src/backend/commands/explain.c | 20 ++++++++++----------
src/include/nodes/execnodes.h  |  8 ++++----
src/include/utils/tuplesort.h  |  2 +-
3 files changed, 15 insertions(+), 15 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Noah Misch
Дата:
Сообщение: pgsql: Change XID and mxact limits to warn at 40M and stop at 3M.
Следующее
От: David Rowley
Дата:
Сообщение: pgsql: Use int64 instead of long in incremental sort code