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:59:47 +1300 |
commit | 0bff6f1da8424efe1ce9a78d9bb2fdd91fdba651 (patch) | |
tree | 30a0e73ace6a0bc474a29ee5daeb5ea75e930d31 /src/backend/commands/user.c | |
parent | 9defaaa1da60372f687e707c20c12aea713e1741 (diff) | |
download | postgresql-0bff6f1da8424efe1ce9a78d9bb2fdd91fdba651.tar.gz postgresql-0bff6f1da8424efe1ce9a78d9bb2fdd91fdba651.zip |
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/commands/user.c')
0 files changed, 0 insertions, 0 deletions