Re: Corner-case bug in pg_rewind

Heikki Linnakangas <hlinnaka@iki.fi>

From: Heikki Linnakangas <hlinnaka@iki.fi>
To: Pavel Borisov <pashkin.elfe@gmail.com>
Cc: Ian Barwick <ian.barwick@2ndquadrant.com>, Anastasia Lubennikova <a.lubennikova@postgrespro.ru>, Ian Lawrence Barwick <barwick@gmail.com>, Pgsql Hackers <pgsql-hackers@postgresql.org>
Date: 2020-12-03T15:15:46Z
Lists: pgsql-hackers
On 03/12/2020 16:49, Pavel Borisov wrote:
>     Ok, pushed and backpatched this now.
> 
> Very nice!
> Thanks to you all!

Thanks for the review, Pavel! I just realized that I forgot to credit 
you in the commit message. I'm sorry.

- Heikki



Commits

  1. Fix more race conditions in the newly-added pg_rewind test.

  2. Fix race conditions in newly-added test.

  3. Fix pg_rewind bugs when rewinding a standby server.

  4. Allow pg_rewind to use a standby server as the source system.

  5. Support clean switchover.