REINDEX CONCURRENTLY and indisreplident
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2020-06-03T06:53:40Z
Lists: pgsql-hackers
Attachments
- reindex-conc-replident.patch (text/x-diff) patch
Hi all, I have bumped into $subject, causing a replica identity index to be considered as dropped if running REINDEX CONCURRENTLY on it. This means that the old tuple information would get lost in this case, as a REPLICA IDENTITY USING INDEX without a dropped index is the same as NOTHING. Attached is a fix for this issue, that needs a backpatch down to 12. Thanks, -- Michael
Commits
-
Preserve pg_index.indisreplident across REINDEX CONCURRENTLY
- 75f147924082 12.4 landed
- 1127f0e392c7 13.0 landed