public inbox for [email protected]
help / color / mirror / Atom feedFrom: RKN Sai Krishna <[email protected]>
To: [email protected]
Subject: pg_rewind enhancements
Date: Fri, 4 Mar 2022 19:49:51 +0530
Message-ID: <CAMVpbFN7t031cZX8kiOGhb1SL6J7vFG3Pwag_XcCmOfodCLmQg@mail.gmail.com> (raw)
Hi,
While using pg_rewind, I found that it is a bit difficult to use pg_rewind
as it seems to copy even the configuration files and also remove some of
the files created on the old primary which may not be present on the new
primary. Similarly it copies files under the data directory of the new
primary which may not be needed or which possibly could be junk files.
I would propose to have a couple of new command line arguments to
pg_rewind. One, a comma separated list of files which should be preserved
on the old primary, in other words which shouldn't be overwritten from the
new primary. Second, a comma separated list of files which should be
excluded while copying files from the new primary onto the old primary.
Would like to invite more thoughts from the hackers.
Regards,
RKN
view thread (2+ messages)
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: pg_rewind enhancements
In-Reply-To: <CAMVpbFN7t031cZX8kiOGhb1SL6J7vFG3Pwag_XcCmOfodCLmQg@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox