diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2022-12-08 08:51:38 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2022-12-08 08:58:15 +0100 |
commit | 2d4f1ba6cfc2f0a977f1c30bda9848041343e248 (patch) | |
tree | 8fdfef3464578531b8f83b4921fa3b3d5f6dd5dd /src/backend/utils/adt/arrayfuncs.c | |
parent | 4b3e37993254ed098219e62ceffb1b32fac388cb (diff) | |
download | postgresql-2d4f1ba6cfc2f0a977f1c30bda9848041343e248.tar.gz postgresql-2d4f1ba6cfc2f0a977f1c30bda9848041343e248.zip |
Update types in File API
Make the argument types of the File API match stdio better:
- Change the data buffer to void *, from char *.
- Change FileWrite() data buffer to const on top of that.
- Change amounts to size_t, from int.
In passing, change the FilePrefetch() amount argument from int to
off_t, to match the underlying posix_fadvise().
Discussion: https://www.postgresql.org/message-id/flat/11dda853-bb5b-59ba-a746-e168b1ce4bdb%40enterprisedb.com
Diffstat (limited to 'src/backend/utils/adt/arrayfuncs.c')
0 files changed, 0 insertions, 0 deletions