Re: PATCH: add "--config-file=" option to pg_rewind

Daniel Gustafsson <daniel@yesql.se>

From: Daniel Gustafsson <daniel@yesql.se>
To: Gunnar Nick Bluth <gunnar.bluth@pro-open.de>
Cc: Alexander Kukushkin <cyberdemn@gmail.com>, Aleksander Alekseev <aleksander@timescale.com>, "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>
Date: 2022-02-24T13:46:49Z
Lists: pgsql-hackers
> On 24 Feb 2022, at 14:43, Gunnar Nick Bluth <gunnar.bluth@pro-open.de> wrote:

> That looks just as good to me, and it already has tests, so I'll happily step down!

Actually, I think this looks like a saner approach.  Putting a config setting
in two place (postgresql.conf and on the commandline for pg_rewind) is a recipe
for them diverging.

--
Daniel Gustafsson		https://vmware.com/




Commits

  1. Add option --config-file to pg_rewind

  2. Rework internal command generation of pg_rewind