Re: pgsql: Avoid invalidating all RelationSyncCache entries on publication

2025-03-18 Thread Robert Haas
On Tue, Mar 18, 2025 at 2:30 AM Amit Kapila wrote: > I think I should have mentioned the future use and other improvements > of this work in the commit message. OK, thanks for the background. Yes, it would have been helpful to mention at least in general terms that it would unblock other optimiza

Re: pgsql: Avoid invalidating all RelationSyncCache entries on publication

2025-03-17 Thread Amit Kapila
On Mon, Mar 17, 2025 at 9:35 PM Robert Haas wrote: > > On Thu, Mar 13, 2025 at 12:00 AM Amit Kapila wrote: > > Avoid invalidating all RelationSyncCache entries on publication rename. > > > > On Publication rename, we need to only invalidate the RelationSyncCache > > entries corresponding to relat

Re: pgsql: Avoid invalidating all RelationSyncCache entries on publication

2025-03-17 Thread Robert Haas
On Thu, Mar 13, 2025 at 12:00 AM Amit Kapila wrote: > Avoid invalidating all RelationSyncCache entries on publication rename. > > On Publication rename, we need to only invalidate the RelationSyncCache > entries corresponding to relations that are part of the publication being > renamed. > > As pa