On Sun, Mar 17, 2019 at 09:00:57PM +0800, Chris Travers wrote: > I also added test cases and some docs. I don't know if the docs are > sufficient. Feedback is appreciated.
To be honest, I don't think that this approach is a good idea per the same reasons as mentioned the last time, as this can cause pg_rewind to break if any newly-added folder in the data directory has non-replaceable data which is needed at the beginning of recovery and cannot be automatically rebuilt. So that's one extra maintenance burden to worry about. Here is the reference of the last thread about the same topic: https://www.postgresql.org/message-id/can-rpxd8y7hmojzd93hoqv6n8kpeo5cmw9gym+8jirtpifn...@mail.gmail.com -- Michael
signature.asc
Description: PGP signature