Use pg_pwrite() in more places.
Thomas Munro <tmunro@postgresql.org>
Use pg_pwrite() in more places. This removes some lseek() system calls. Author: Thomas Munro Reviewed-by: Andres Freund Discussion: https://postgr.es/m/CA%2BhUKGJ%2BoHhnvqjn3%3DHro7xu-YDR8FPr0FL6LF35kHRX%3D_bUzg%40mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pg_stat_statements/pg_stat_statements.c | modified | +2 −5 |
| src/backend/access/heap/rewriteheap.c | modified | +1 −8 |
| src/backend/replication/walreceiver.c | modified | +3 −25 |
| src/backend/utils/init/miscinit.c | modified | +1 −2 |
Discussion
- Getting rid of some more lseek() calls 10 messages · 2020-02-06 → 2020-08-01