Re: Supply restore_command to pg_rewind via CLI argument - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: Supply restore_command to pg_rewind via CLI argument
Date
Msg-id A2118D1E-95C8-4715-93A6-2ADFA9324A38@yesql.se
Whole thread Raw
In response to Re: Supply restore_command to pg_rewind via CLI argument  (Andrey Borodin <x4mmm@yandex-team.ru>)
Responses Re: Supply restore_command to pg_rewind via CLI argument
Re: Supply restore_command to pg_rewind via CLI argument
List pgsql-hackers
> On 14 Sep 2021, at 16:05, Andrey Borodin <x4mmm@yandex-team.ru> wrote:

>> Do we actually need --target-restore-command at all? It seems to me
>> that we have all we need with --restore-target-wal, and that's not
>> really instinctive to pass down a command via another command..
>
> Currently we know that --restore-target-wal is not enough if postgresql.conf does not reside within PGDATA.

That's a useful reason which wasn't brought up in the earlier thread, and may
tip the scales in favor.

The patch no longer applies, can you submit a rebased version please?

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




pgsql-hackers by date:

Previous
From: torikoshia
Date:
Subject: Re: RFC: Logging plan of the running query
Next
From: Daniel Gustafsson
Date:
Subject: Re: Automatic notification of top transaction IDs