diff options
author | Thomas Munro <tmunro@postgresql.org> | 2025-01-09 12:10:26 +1300 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2025-01-09 15:00:23 +1300 |
commit | af109e3399b63355f126f61916dcd16d833d8481 (patch) | |
tree | e242220c826434f74115718fff24b8190f97c028 /src/backend/utils/adt/ruleutils.c | |
parent | 45aef9f6bb0fd5784e2f596f93aae3619c20b1d8 (diff) | |
download | postgresql-af109e3399b63355f126f61916dcd16d833d8481.tar.gz postgresql-af109e3399b63355f126f61916dcd16d833d8481.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/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions