Re: pg_rewind restore_command issue in PG12

Heikki Linnakangas <hlinnaka@iki.fi>

From: Heikki Linnakangas <hlinnaka@iki.fi>
To: Amine Tengilimoglu <aminetengilimoglu@gmail.com>, pgsql-hackers@postgresql.org
Date: 2021-01-04T12:42:27Z
Lists: pgsql-hackers
On 03/01/2021 20:13, Amine Tengilimoglu wrote:
>       In a situation where pg_rewind gets an error due to a missing 
> wall, I  have set restore_command so that the needed wals can be read 
> from the archive (I don't want to manually copy the wal files), but I 
> see it doesn't work. What am I missing?  Is restore_command not really 
> working with pg_rewind in PG12? Or  how should I trigger pg_rewind to 
> use restore_command?

Using restore_command is a new feature in pg_rewind in PostgreSQL 13. It 
doesn't work on earlier versions.

- Heikki



Commits

  1. doc: Remove reference to recovery params for divergence lookup in pg_rewind