Re: [HACKERS] Proposal: pg_rewind to skip config files

Поиск
Список
Период
Сортировка
От Sokolov Yura
Тема Re: [HACKERS] Proposal: pg_rewind to skip config files
Дата
Msg-id 8d12618eb5c3723a2c24fd7617ee6079@postgrespro.ru
обсуждение исходный текст
Ответ на [HACKERS] Proposal: pg_rewind to skip config files  (Chris Travers <chris.travers@adjust.com>)
Ответы Re: [HACKERS] Proposal: pg_rewind to skip config files  (Chris Travers <chris.travers@adjust.com>)
Список 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 по дате отправления:

Предыдущее
От: Konstantin Knizhnik
Дата:
Сообщение: Re: [HACKERS] Secondary index access optimizations
Следующее
От: Andreas Joseph Krogh
Дата:
Сообщение: Re: [HACKERS] Release Note changes