pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Handle fsync failures in pg_receivewal and pg_recvlogical
Date: Mon, 29 Jul 2019 06:06:01 +0000
Message-ID: <E1hrynJ-0006QY-2T@gemulon.postgresql.org> (raw)

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

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(-)



Message-ID: <E1hrynJ-0006QY-2T@gemulon.postgresql.org>
Permalink:  ../E1hrynJ-0006QY-2T@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1hrynJ-0006QY-2T@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org
  Subject: Re: pgsql: Handle fsync failures in pg_receivewal and pg_recvlogical
  In-Reply-To: <E1hrynJ-0006QY-2T@gemulon.postgresql.org>
  References: <E1hrynJ-0006QY-2T@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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