Re: Selectively invalidate caches in pgoutput module
Amit Kapila <amit.kapila16@gmail.com>
From: Amit Kapila <amit.kapila16@gmail.com>
To: "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Cc: "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>, "ShlokKumar.Kyal@fujitsu.com" <ShlokKumar.Kyal@fujitsu.com>, "Zhijie Hou (Fujitsu)" <houzj.fnst@fujitsu.com>,
Masahiko Sawada <sawada.mshk@gmail.com>
Date: 2025-03-12T09:30:13Z
Lists: pgsql-hackers
Attachments
- v11-0001-Avoid-invalidating-all-RelationSyncCache-entries.patch (application/octet-stream) patch v11-0001
On Tue, Mar 11, 2025 at 5:47 PM Hayato Kuroda (Fujitsu) <kuroda.hayato@fujitsu.com> wrote: > > Attached patch address comments by you and Amit [1]. What's new; > Thanks, the patch looks mostly good to me. I have made few cosmetic changes in the attached and combined both the patches. The existing Alter Publication ... Rename tests don't test invalidations arising from that command. As this patch changes that code path, it would be good to add a few tests for the same. We can add one for individual relations and another for ALL Tables publication. -- With Regards, Amit Kapila.
Commits
-
Avoid invalidating all RelationSyncCache entries on publication rename.
- 3abe9dc18892 18.0 landed
-
Avoid invalidating all RelationSyncCache entries on publication change.
- 588acf6d0ec1 18.0 landed