Re: [HACKERS] Proposal: pg_rewind to skip config files
От | Michael Paquier |
---|---|
Тема | Re: [HACKERS] Proposal: pg_rewind to skip config files |
Дата | |
Msg-id | CAB7nPqQgE=JWEAAWC90wMDkwyuHt_g6UqGk4=tvoudtVCKC2Ng@mail.gmail.com обсуждение исходный текст |
Ответ на | [HACKERS] Proposal: pg_rewind to skip config files (Chris Travers <chris.travers@adjust.com>) |
Ответы |
Re: [HACKERS] Proposal: pg_rewind to skip config files
|
Список | pgsql-hackers |
On Mon, Sep 4, 2017 at 5:53 PM, Chris Travers <chris.travers@adjust.com> wrote: > In some experiments with pg_rewind and rep mgr I noticed that local testing > is complicated by the fact that pg_rewind appears to copy configuration > files from the source to target directory. > > I would propose to make a modest patch to exclude postgresql.conf, > pg_hba.conf, and pg_ident.conf from the file tree traversal. > > Any feedback before I create.a proof of concept? A simple idea would be to pass as a parameter a regex on which we check files to skip when scanning the directory of the target remotely or locally. This needs to be used with care though, it would be easy to corrupt an instance. -- Michael
В списке pgsql-hackers по дате отправления: