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

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Alexander Kukushkin <cyberdemn(at)gmail(dot)com>
Cc: Aleksander Alekseev <aleksander(at)timescale(dot)com>, Gunnar Nick Bluth <gunnar(dot)bluth(at)pro-open(dot)de>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: PATCH: add "--config-file=" option to pg_rewind
Date: 2022-02-24 13:08:40
Message-ID: 86F87B31-00C6-4E45-84D3-4F62ED6CC7EB@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 24 Feb 2022, at 10:27, Alexander Kukushkin <cyberdemn(at)gmail(dot)com> wrote:
>
> Hello Gunnar,
>
> On Thu, 24 Feb 2022 at 10:03, Aleksander Alekseev <aleksander(at)timescale(dot)com> wrote:
>
> > wants to use the "-c" option on a typical Debian/Ubuntu installation
> > (where the config resides below /etc/postgresql/), pg_rewind needs a way
> > to be told where the postgresql.conf actually is.
> >
> > The attached patch implements this as an option.
> >
> > [...]
>
> Good catch!
>
> Yeah, it is a known problem, and there was already another patch trying to address it [1].

There is yet another related patch which provides a parameter to pass in
restore_command in cases where postgresq.conf isn't reachable:

https://commitfest.postgresql.org/37/3213/

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2022-02-24 13:20:02 Re: Readd use of TAP subtests
Previous Message Peter Eisentraut 2022-02-24 13:06:18 Re: Frontend error logging style