Re: [HACKERS] Proposal: pg_rewind to skip config files - Mailing list pgsql-hackers

From Sokolov Yura
Subject Re: [HACKERS] Proposal: pg_rewind to skip config files
Date
Msg-id [email protected]
Whole thread Raw
In response to [HACKERS] Proposal: pg_rewind to skip config files  (Chris Travers <[email protected]>)
Responses Re: [HACKERS] Proposal: pg_rewind to skip config files
List pgsql-hackers
On 2017-09-04 11:53, Chris Travers 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?
> 
> --
> 
> Best Regards,
> Chris Travers
> Database Administrator
> 
> Tel: +49 162 9037 210 | Skype: einhverfr | www.adjust.com [1]
> Saarbrücker Straße 37a, 10405 Berlin
> 
> 
> 
> Links:
> ------
> [1] http://www.adjust.com/

And we had production issue with pg_rewind which copied huge textual
logs from pg_log (20GB each, cause statements were logged for
statistic). It will be convenient to tell pg_rewind not to copy logs
too.

-- 
Sokolov Yura
Postgres Professional: https://postgrespro.ru
The Russian Postgres Company



pgsql-hackers by date:

Previous
From: Konstantin Knizhnik
Date:
Subject: Re: [HACKERS] Secondary index access optimizations
Next
From: Andreas Joseph Krogh
Date:
Subject: Re: [HACKERS] Release Note changes