From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Handle fsync failures in pg_receivewal and pg_recvlogical |
Date: | 2019-07-29 06:06:01 |
Message-ID: | E1hrynJ-0006QY-2T@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(at)paquier(dot)xyz>
Reviewed-by: Sehrope Sarkuni <sehrope(at)jackdb(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/9b49fe44-8f3e-eca9-5914-29e9e99030bf(at)2ndquadrant(dot)com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/1e2fddfa33d3c7cc93ca3ee0f32852699bd3e012
Modified Files
--------------
src/bin/pg_basebackup/pg_recvlogical.c | 4 ++--
src/bin/pg_basebackup/receivelog.c | 12 ++++++------
src/bin/pg_basebackup/walmethods.c | 2 +-
3 files changed, 9 insertions(+), 9 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2019-07-29 22:49:22 | pgsql: Fix busted logic for parallel lock grouping in TopoSort(). |
Previous Message | Michael Paquier | 2019-07-29 03:38:47 | pgsql: Fix inconsistencies and typos in the tree |