pgsql: Fix cache look-up failures while applying changes in logical rep

2022-06-14 Thread Amit Kapila
Fix cache look-up failures while applying changes in logical replication. While building a new attrmap which maps partition attribute numbers to remoterel's, we incorrectly update the map for dropped column attributes. Later, it caused cache look-up failure when we tried to use the map to fetch th

pgsql: Fix cache look-up failures while applying changes in logical rep

2022-06-14 Thread Amit Kapila
Fix cache look-up failures while applying changes in logical replication. While building a new attrmap which maps partition attribute numbers to remoterel's, we incorrectly update the map for dropped column attributes. Later, it caused cache look-up failure when we tried to use the map to fetch th

pgsql: Fix cache look-up failures while applying changes in logical rep

2022-06-14 Thread Amit Kapila
Fix cache look-up failures while applying changes in logical replication. While building a new attrmap which maps partition attribute numbers to remoterel's, we incorrectly update the map for dropped column attributes. Later, it caused cache look-up failure when we tried to use the map to fetch th