pg_rewind restore_command issue in PG12

From: Amine Tengilimoglu <aminetengilimoglu(at)gmail(dot)com>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: pg_rewind restore_command issue in PG12
Date: 2021-01-04 10:19:45
Message-ID: CADTdw-yES_nc4RwdniyLH3BwTZQzSPhYujjBNWmcgAxrxxsHnA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi;

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?

[image: image.png]

Thank you.

Browse pgsql-admin by date

  From Date Subject
Next Message jian xu 2021-01-04 17:54:47 question about database recover proceduers
Previous Message Li EF Zhang 2021-01-04 10:17:11 RE: recovery snapshot waiting for non-overflowed snapshot or until oldest active xid on standby is at least 4739126 (now 1422751)