On Tue, Sep 18, 2018 at 10:37 AM Michael Banck <michael.ba...@credativ.de> wrote: > I have added a retry for this as well now, without a pg_sleep() as well. > This catches around 80% of the half-reads, but a few slip through. At > that point we bail out with exit(1), and the user can try again, which I > think is fine?
Maybe I'm confused here, but catching 80% of torn pages doesn't sound robust at all. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company