aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/ruleutils.c
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2025-01-09 12:10:26 +1300
committerThomas Munro <tmunro@postgresql.org>2025-01-09 14:58:18 +1300
commit70a7a37610f70f546ea651021c970f7d0c4b81b3 (patch)
treee4646e6d7dc552c3723ba0eaf6bf7e554969fb41 /src/backend/utils/adt/ruleutils.c
parent190054e61f5d2079aa5bc7a50206fe96bf4438f5 (diff)
downloadpostgresql-70a7a37610f70f546ea651021c970f7d0c4b81b3.tar.gz
postgresql-70a7a37610f70f546ea651021c970f7d0c4b81b3.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