Re: pg_rewind WAL segments deletion pitfall

Polina Bungina <bungina@gmail.com>

From: Polina Bungina <bungina@gmail.com>
To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: cyberdemn@gmail.com, pgsql-hackers@lists.postgresql.org
Date: 2022-09-29T08:18:43Z
Lists: pgsql-bugs, pgsql-hackers

Attachments

I agree with your suggestions, so here is the updated version of patch.
Hope I haven't missed anything.

Regards,
Polina Bungina

Commits

  1. Fix newly introduced 010_keep_recycled_wals.pl

  2. Avoid deleting critical WAL segments during pg_rewind