Re: pg_rewind and postgresql.conf

From: Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp>
To: chris(dot)travers(at)adjust(dot)com
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: pg_rewind and postgresql.conf
Date: 2018-05-04 13:15:08
Message-ID: 20180504.221508.1179661651567218079.t-ishii@sraoss.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> 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.

Something like "--copy-including-files=file1,file2,..."? However I
would like to also have "--copy-excluding-files=". The latter would be
more convenient for most users like me.

> However I ran out of time this time to do this patch and hope to submit
> again after 11 is finalized.

Sounds great.

> 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.

Interesting idea.
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2018-05-04 13:35:33 Re: Proper way to reload config files in backend SIGHUP handler
Previous Message Tatsuo Ishii 2018-05-04 13:08:38 Re: pg_rewind and postgresql.conf