Re: fsync error handling in pg_receivewal, pg_recvlogical

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Sehrope Sarkuni <sehrope(at)jackdb(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: fsync error handling in pg_receivewal, pg_recvlogical
Date: 2019-07-29 06:06:48
Message-ID: f04eeadf-3b0b-346f-c13c-702ce2670142@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2019-07-27 19:02, Sehrope Sarkuni wrote:
> Tried out this patch and it applies, compiles, and passes check-world.
> Also flipped things around in pg_recvlogical.c to exit-on-success to
> ensure it's actually being called and that worked too. Outside of a more
> complicated harness that simulates fsync errors not sure how else to
> test this further.

I have committed this, with the exit code changed back, as requested by
Michael.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Langote 2019-07-29 06:12:01 Re: Attached partition not considering altered column properties of root partition.
Previous Message Kyotaro Horiguchi 2019-07-29 05:55:48 Re: psql - add SHOW_ALL_RESULTS option