From: | Sokolov Yura <y(dot)sokolov(at)postgrespro(dot)ru> |
---|---|
To: | Chris Travers <chris(dot)travers(at)adjust(dot)com> |
Cc: | PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>, pgsql-hackers-owner(at)postgresql(dot)org |
Subject: | Re: Proposal: pg_rewind to skip config files |
Date: | 2017-09-04 09:29:06 |
Message-ID: | 8d12618eb5c3723a2c24fd7617ee6079@postgrespro.ru |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Andreas Joseph Krogh | 2017-09-04 09:34:28 | Re: Release Note changes |
Previous Message | Konstantin Knizhnik | 2017-09-04 09:19:24 | Re: Secondary index access optimizations |