pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Correct handling of fsync failures with tar mode of walmethods.c 2+ messages / 1 participants [nested] [flat]
* pgsql: Correct handling of fsync failures with tar mode of walmethods.c @ 2018-06-26 00:57 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 2+ messages in thread From: Michael Paquier @ 2018-06-26 00:57 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Correct handling of fsync failures with tar mode of walmethods.c @ 2018-06-26 00:57 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 2+ messages in thread From: Michael Paquier @ 2018-06-26 00:57 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 ------ master Details ------- https://git.postgresql.org/pg/commitdiff/d08c3d5197fac1f49cedbd8417e685479ad7439a Modified Files -------------- src/bin/pg_basebackup/walmethods.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2018-06-26 00:57 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2018-06-26 00:57 pgsql: Correct handling of fsync failures with tar mode of walmethods.c Michael Paquier <michael@paquier.xyz> 2018-06-26 00:57 pgsql: Correct handling of fsync failures with tar mode of walmethods.c Michael Paquier <michael@paquier.xyz>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox