diff options
| author | Thomas Munro <tmunro@postgresql.org> | 2025-01-09 12:10:26 +1300 |
|---|---|---|
| committer | Thomas Munro <tmunro@postgresql.org> | 2025-01-09 14:57:02 +1300 |
| commit | d02486cc8e0aac831c0d49f27f33ce8bd6968df2 (patch) | |
| tree | 2577f45a937dee4f8be0ae6fb2788ab44578ed2f /src/backend/access/common/bufmask.c | |
| parent | a722252ef1e1980fb697fe5cff7506245aec5f07 (diff) | |
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
Diffstat (limited to 'src/backend/access/common/bufmask.c')
0 files changed, 0 insertions, 0 deletions
