pgsql: Fix memory leak due to LogicalRepRelMapEntry.attrmap.

2022-06-22 Thread Amit Kapila
Fix memory leak due to LogicalRepRelMapEntry.attrmap. When rebuilding the relation mapping on subscribers, we were not releasing the attribute mapping's memory which was no longer required. The attribute mapping used in logical tuple conversion was refactored in PG13 (by commit e1551f96e6) but we

pgsql: Fix memory leak due to LogicalRepRelMapEntry.attrmap.

2022-06-22 Thread Amit Kapila
Fix memory leak due to LogicalRepRelMapEntry.attrmap. When rebuilding the relation mapping on subscribers, we were not releasing the attribute mapping's memory which was no longer required. The attribute mapping used in logical tuple conversion was refactored in PG13 (by commit e1551f96e6) but we

pgsql: Fix memory leak due to LogicalRepRelMapEntry.attrmap.

2022-06-22 Thread Amit Kapila
Fix memory leak due to LogicalRepRelMapEntry.attrmap. When rebuilding the relation mapping on subscribers, we were not releasing the attribute mapping's memory which was no longer required. The attribute mapping used in logical tuple conversion was refactored in PG13 (by commit e1551f96e6) but we

pgsql: Fix memory leak due to LogicalRepRelMapEntry.attrmap.

2022-06-22 Thread Amit Kapila
Fix memory leak due to LogicalRepRelMapEntry.attrmap. When rebuilding the relation mapping on subscribers, we were not releasing the attribute mapping's memory which was no longer required. The attribute mapping used in logical tuple conversion was refactored in PG13 (by commit e1551f96e6) but we

pgsql: Fix memory leak due to LogicalRepRelMapEntry.attrmap.

2022-06-22 Thread Amit Kapila
Fix memory leak due to LogicalRepRelMapEntry.attrmap. When rebuilding the relation mapping on subscribers, we were not releasing the attribute mapping's memory which was no longer required. The attribute mapping used in logical tuple conversion was refactored in PG13 (by commit e1551f96e6) but we

pgsql: Fix memory leak due to LogicalRepRelMapEntry.attrmap.

2022-06-22 Thread Amit Kapila
Fix memory leak due to LogicalRepRelMapEntry.attrmap. When rebuilding the relation mapping on subscribers, we were not releasing the attribute mapping's memory which was no longer required. The attribute mapping used in logical tuple conversion was refactored in PG13 (by commit e1551f96e6) but we