Handle fsync failures in pg_receivewal and pg_recvlogical
Peter Eisentraut <peter@eisentraut.org>
Handle fsync failures in pg_receivewal and pg_recvlogical It is not safe to simply report an fsync error and continue. We must exit the program instead. Reviewed-by: Michael Paquier <michael@paquier.xyz> Reviewed-by: Sehrope Sarkuni <sehrope@jackdb.com> Discussion: https://www.postgresql.org/message-id/flat/9b49fe44-8f3e-eca9-5914-29e9e99030bf@2ndquadrant.com
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_basebackup/pg_recvlogical.c | modified | +2 −2 |
| src/bin/pg_basebackup/receivelog.c | modified | +6 −6 |
| src/bin/pg_basebackup/walmethods.c | modified | +1 −1 |
Discussion
- fsync error handling in pg_receivewal, pg_recvlogical 8 messages · 2019-03-29 → 2019-07-29