Re: PATCH: add "--config-file=" option to pg_rewind - Mailing list pgsql-hackers

From Gunnar \"Nick\" Bluth
Subject Re: PATCH: add "--config-file=" option to pg_rewind
Date
Msg-id 90730332-8d6e-eeaf-b8f3-d5c7a440ff0a@pro-open.de
Whole thread Raw
In response to Re: PATCH: add "--config-file=" option to pg_rewind  (Daniel Gustafsson <daniel@yesql.se>)
Responses Re: PATCH: add "--config-file=" option to pg_rewind  (Daniel Gustafsson <daniel@yesql.se>)
List pgsql-hackers
Am 24.02.2022 um 14:08 schrieb Daniel Gustafsson:
>> On 24 Feb 2022, at 10:27, Alexander Kukushkin <cyberdemn@gmail.com> wrote:
>>
>> Hello Gunnar,
>>
>> On Thu, 24 Feb 2022 at 10:03, Aleksander Alekseev <aleksander@timescale.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/

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

(Note to myself: check the CF first next time ;-)
-- 
Gunnar "Nick" Bluth

Eimermacherweg 106
D-48159 Münster

Mobil +49 172 8853339
Email: gunnar.bluth@pro-open.de
__________________________________________________________________________
"Ceterum censeo SystemD esse delendam" - Cato



pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: Readd use of TAP subtests
Next
From: Daniel Gustafsson
Date:
Subject: Re: Typo in pgbench messages.