pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Use int64 instead of long in incremental sort code
2+ messages / 1 participants
[nested] [flat]

* pgsql: Use int64 instead of long in incremental sort code
@ 2020-08-02 02:24 David Rowley <drowley@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: David Rowley @ 2020-08-02 02:24 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Use int64 instead of long in incremental sort code
@ 2020-08-02 02:25 David Rowley <drowley@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: David Rowley @ 2020-08-02 02:25 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6ee3b5fb990ea11992b0db960d79b1fbe7b5e8e5

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(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2020-08-02 02:25 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-08-02 02:24 pgsql: Use int64 instead of long in incremental sort code David Rowley <drowley@postgresql.org>
2020-08-02 02:25 pgsql: Use int64 instead of long in incremental sort code David Rowley <drowley@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox