diff options
author | Thomas Munro <tmunro@postgresql.org> | 2021-01-11 14:37:13 +1300 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2021-01-11 15:24:38 +1300 |
commit | 13a021f3e8c99915b3cc0cb2021a948d9c71ff32 (patch) | |
tree | f532b74cfecef4bb150d2853509f105c3fe05e21 /src/interfaces/libpq/fe-auth.c | |
parent | 01334c92fa09dc496a444a4f206854ef37247258 (diff) | |
download | postgresql-13a021f3e8c99915b3cc0cb2021a948d9c71ff32.tar.gz postgresql-13a021f3e8c99915b3cc0cb2021a948d9c71ff32.zip |
Provide pg_preadv() and pg_pwritev().
Provide synchronous vectored file I/O routines. These map to preadv()
and pwritev(), with fallback implementations for systems that don't have
them. Also provide a wrapper pg_pwritev_with_retry() that automatically
retries on short writes.
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/CA%2BhUKGJA%2Bu-220VONeoREBXJ9P3S94Y7J%2BkqCnTYmahvZJwM%3Dg%40mail.gmail.com
Diffstat (limited to 'src/interfaces/libpq/fe-auth.c')
0 files changed, 0 insertions, 0 deletions