Re: pg_rewind and postgresql.conf
От | Chris Travers |
---|---|
Тема | Re: pg_rewind and postgresql.conf |
Дата | |
Msg-id | CAN-RpxB6vJ5d1bTj=gP4=6ccC3vVevCAtmLb5RQtOS1OMbGqWg@mail.gmail.com обсуждение исходный текст |
Ответ на | pg_rewind and postgresql.conf (Tatsuo Ishii <ishii@sraoss.co.jp>) |
Ответы |
Re: pg_rewind and postgresql.conf
Re: pg_rewind and postgresql.conf |
Список | pgsql-hackers |
On Fri, May 4, 2018 at 12:59 PM, Tatsuo Ishii <ishii@sraoss.co.jp> wrote:
Currently pg_rewind copies all files including postgresql.conf. It
would be nice if pg_rewind has an option to not copy
postgresql.conf. I sometimes create multiple PostgreSQL database
clusters with different port number which postmaster is listening on
for a testing purpose. So existing postgresql.conf on the target
cluster being overwritten by pg_rewind is annoying. I believe there
are some use cases where different port numbers are used among
PostgreSQL database clusters in the real world.
Comments?
I totally agree. Ideally, rewind would just rewind data dirs by default and provide an option to include other files as specified by the administrator.
However I ran out of time this time to do this patch and hope to submit again after 11 is finalized.
There are two other things that would really be nice to make work too (but think that's another major version away):
1. Make pg_rewind work over the replication protocol so it doesn't require db superuser
2. Unify, to the extent possible, the code base with pg_basebackup.
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp
Best Regards,
Chris Travers
Database Administrator
Saarbrücker Straße 37a, 10405 Berlin
В списке pgsql-hackers по дате отправления: