Handle no replica identity index case in RelationGetIdentityKeyBitmap.
Amit Kapila <akapila@postgresql.org>
Handle no replica identity index case in RelationGetIdentityKeyBitmap. Commit e7eea52b2d has introduced a new function RelationGetIdentityKeyBitmap which omits to handle the case where there is no replica identity index on a relation. Author: Mark Dilger Reviewed-by: Takamichi Osumi, Amit Kapila Discussion: https://www.postgresql.org/message-id/4C99A862-69C8-431F-960A-81B1151F1B89@enterprisedb.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/cache/relcache.c | modified | +11 −1 |
| src/test/subscription/t/001_rep_changes.pl | modified | +15 −2 |
Discussion
- Fix for segfault in logical replication on master 19 messages · 2021-06-17 → 2021-06-28