pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Provide 64-bit ftruncate() and lseek() on Windows. 6+ messages / 1 participants [nested] [flat]
* pgsql: Provide 64-bit ftruncate() and lseek() on Windows. @ 2025-01-09 03:02 Thomas Munro <tmunro@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: Thomas Munro @ 2025-01-09 03:02 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Provide 64-bit ftruncate() and lseek() on Windows. Change our ftruncate() macro to use the 64-bit variant of chsize(), and add a new macro to redirect lseek() to _lseeki64(). Back-patch to all supported releases, in preparation for a bug fix. Tested-by: Davinder Singh <davinder.singh@enterprisedb.com> Discussion: https://postgr.es/m/CAKZiRmyM4YnokK6Oenw5JKwAQ3rhP0YTz2T-tiw5dAQjGRXE3Q%40mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/026762dae39d6efcbfa99a18a15fdfeecbd5b9cc Modified Files -------------- src/include/port.h | 27 +++++++++++++++++++++++++++ src/include/port/win32_port.h | 2 -- src/pl/plperl/plperl_system.h | 1 + 3 files changed, 28 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Provide 64-bit ftruncate() and lseek() on Windows. @ 2025-01-09 03:03 Thomas Munro <tmunro@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: Thomas Munro @ 2025-01-09 03:03 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Provide 64-bit ftruncate() and lseek() on Windows. Change our ftruncate() macro to use the 64-bit variant of chsize(), and add a new macro to redirect lseek() to _lseeki64(). Back-patch to all supported releases, in preparation for a bug fix. Tested-by: Davinder Singh <davinder.singh@enterprisedb.com> Discussion: https://postgr.es/m/CAKZiRmyM4YnokK6Oenw5JKwAQ3rhP0YTz2T-tiw5dAQjGRXE3Q%40mail.gmail.com Branch ------ REL_17_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/af109e3399b63355f126f61916dcd16d833d8481 Modified Files -------------- src/include/port.h | 27 +++++++++++++++++++++++++++ src/include/port/win32_port.h | 2 -- src/pl/plperl/plperl_system.h | 1 + 3 files changed, 28 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Provide 64-bit ftruncate() and lseek() on Windows. @ 2025-01-09 03:03 Thomas Munro <tmunro@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: Thomas Munro @ 2025-01-09 03:03 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Provide 64-bit ftruncate() and lseek() on Windows. Change our ftruncate() macro to use the 64-bit variant of chsize(), and add a new macro to redirect lseek() to _lseeki64(). Back-patch to all supported releases, in preparation for a bug fix. Tested-by: Davinder Singh <davinder.singh@enterprisedb.com> Discussion: https://postgr.es/m/CAKZiRmyM4YnokK6Oenw5JKwAQ3rhP0YTz2T-tiw5dAQjGRXE3Q%40mail.gmail.com Branch ------ REL_16_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/0bff6f1da8424efe1ce9a78d9bb2fdd91fdba651 Modified Files -------------- src/include/port.h | 27 +++++++++++++++++++++++++++ src/include/port/win32_port.h | 2 -- src/pl/plperl/plperl_system.h | 1 + 3 files changed, 28 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Provide 64-bit ftruncate() and lseek() on Windows. @ 2025-01-09 03:03 Thomas Munro <tmunro@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: Thomas Munro @ 2025-01-09 03:03 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Provide 64-bit ftruncate() and lseek() on Windows. Change our ftruncate() macro to use the 64-bit variant of chsize(), and add a new macro to redirect lseek() to _lseeki64(). Back-patch to all supported releases, in preparation for a bug fix. Tested-by: Davinder Singh <davinder.singh@enterprisedb.com> Discussion: https://postgr.es/m/CAKZiRmyM4YnokK6Oenw5JKwAQ3rhP0YTz2T-tiw5dAQjGRXE3Q%40mail.gmail.com Branch ------ REL_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/70a7a37610f70f546ea651021c970f7d0c4b81b3 Modified Files -------------- src/include/port.h | 27 +++++++++++++++++++++++++++ src/include/port/win32_port.h | 2 -- src/pl/plperl/plperl_system.h | 1 + 3 files changed, 28 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Provide 64-bit ftruncate() and lseek() on Windows. @ 2025-01-09 03:03 Thomas Munro <tmunro@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: Thomas Munro @ 2025-01-09 03:03 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Provide 64-bit ftruncate() and lseek() on Windows. Change our ftruncate() macro to use the 64-bit variant of chsize(), and add a new macro to redirect lseek() to _lseeki64(). Back-patch to all supported releases, in preparation for a bug fix. Tested-by: Davinder Singh <davinder.singh@enterprisedb.com> Discussion: https://postgr.es/m/CAKZiRmyM4YnokK6Oenw5JKwAQ3rhP0YTz2T-tiw5dAQjGRXE3Q%40mail.gmail.com Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/1636c5e56ed72e53127fc4cb0095422d9a0d250a Modified Files -------------- src/include/port.h | 27 +++++++++++++++++++++++++++ src/include/port/win32_port.h | 2 -- src/pl/plperl/plperl_system.h | 1 + 3 files changed, 28 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Provide 64-bit ftruncate() and lseek() on Windows. @ 2025-01-09 03:03 Thomas Munro <tmunro@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: Thomas Munro @ 2025-01-09 03:03 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Provide 64-bit ftruncate() and lseek() on Windows. Change our ftruncate() macro to use the 64-bit variant of chsize(), and add a new macro to redirect lseek() to _lseeki64(). Back-patch to all supported releases, in preparation for a bug fix. Tested-by: Davinder Singh <davinder.singh@enterprisedb.com> Discussion: https://postgr.es/m/CAKZiRmyM4YnokK6Oenw5JKwAQ3rhP0YTz2T-tiw5dAQjGRXE3Q%40mail.gmail.com Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/d02486cc8e0aac831c0d49f27f33ce8bd6968df2 Modified Files -------------- src/include/port.h | 27 +++++++++++++++++++++++++++ src/include/port/win32_port.h | 2 -- src/pl/plperl/plperl_system.h | 1 + 3 files changed, 28 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2025-01-09 03:03 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2025-01-09 03:02 pgsql: Provide 64-bit ftruncate() and lseek() on Windows. Thomas Munro <tmunro@postgresql.org> 2025-01-09 03:03 pgsql: Provide 64-bit ftruncate() and lseek() on Windows. Thomas Munro <tmunro@postgresql.org> 2025-01-09 03:03 pgsql: Provide 64-bit ftruncate() and lseek() on Windows. Thomas Munro <tmunro@postgresql.org> 2025-01-09 03:03 pgsql: Provide 64-bit ftruncate() and lseek() on Windows. Thomas Munro <tmunro@postgresql.org> 2025-01-09 03:03 pgsql: Provide 64-bit ftruncate() and lseek() on Windows. Thomas Munro <tmunro@postgresql.org> 2025-01-09 03:03 pgsql: Provide 64-bit ftruncate() and lseek() on Windows. Thomas Munro <tmunro@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