| From: | Michael Paquier <michael(at)paquier(dot)xyz> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Correct handling of fsync failures with tar mode of walmethods.c |
| Date: | 2018-06-26 00:57:42 |
| Message-ID: | E1fXcIg-0005vr-2f@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Correct handling of fsync failures with tar mode of walmethods.c
This file has been missing the fact that it needs to report back to
callers a proper failure on fsync calls. I have spotted the one in
tar_finish() while Kuntal has spotted the one in tar_close().
Backpatch down to 10 where this code has been introduced.
Reported by: Michael Paquier, Kuntal Ghosh
Author: Michael Paquier
Reviewed-by: Kuntal Ghosh, Magnus Hagander
Discussion: https://postgr.es/m/20180625024356.GD1146@paquier.xyz
Branch
------
REL_10_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/324076a6261756d6f5b3514ed2b2f715b656ba90
Modified Files
--------------
src/bin/pg_basebackup/walmethods.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2018-06-26 06:01:46 | pgsql: Fix description and documentation related to pg_restore --no-com |
| Previous Message | Alvaro Herrera | 2018-06-25 19:46:49 | pgsql: Update obsolete comments |