pgsql: Fix crash in brininsertcleanup during logical replication.

2025-02-19 Thread Tom Lane
Fix crash in brininsertcleanup during logical replication. Logical replication crashes if the subscriber's partitioned table has a BRIN index. There are two independently blamable causes, and this patch fixes both: 1. brininsertcleanup fails if called twice for the same IndexInfo, because it hal

pgsql: Fix crash in brininsertcleanup during logical replication.

2025-02-19 Thread Tom Lane
Fix crash in brininsertcleanup during logical replication. Logical replication crashes if the subscriber's partitioned table has a BRIN index. There are two independently blamable causes, and this patch fixes both: 1. brininsertcleanup fails if called twice for the same IndexInfo, because it hal