Re: pg_rewind fails if there is a read only file. - Mailing list pgsql-hackers

From Paul Guo
Subject Re: pg_rewind fails if there is a read only file.
Date
Msg-id CABQrizf-Z0cOt+_w+FnQGvCnmu4y5GC4Gu5G9CzHcyRYJ2FeVQ@mail.gmail.com
Whole thread Raw
In response to Re: pg_rewind fails if there is a read only file.  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: pg_rewind fails if there is a read only file.
List pgsql-hackers
> Presumably the user has a reason for adding the file read-only to the
> data directory, and we shouldn't lightly ignore that.
>
> Michael's advice is reasonable. This seems like a case of:

I agree. Attached is a short patch to handle the case. The patch was
tested in my dev environment.

Attachment

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: "Multiple table synchronizations are processed serially" still happens
Next
From: David Rowley
Date:
Subject: Re: Skip partition tuple routing with constant partition key