Re: Added missing invalidations for all tables publication
vignesh C <vignesh21@gmail.com>
From: vignesh C <vignesh21@gmail.com>
To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: houzj.fnst@fujitsu.com, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-08-31T15:24:11Z
Lists: pgsql-hackers
Attachments
- v3-0001-Added-missing-invalidations-for-all-tables-public.patch (text/x-patch) patch v3-0001
On Tue, Aug 31, 2021 at 2:00 PM Kyotaro Horiguchi <horikyota.ntt@gmail.com> wrote: > > At Tue, 31 Aug 2021 08:31:05 +0530, vignesh C <vignesh21@gmail.com> wrote in > > On Tue, Aug 31, 2021 at 7:40 AM houzj.fnst@fujitsu.com > > <houzj.fnst@fujitsu.com> wrote: > > Thanks for the comment, I have slightly modified the test case which > > will fail without the patch. Attached v2 patch which has the changes > > for the same. > > The test works fine. The code looks fine for me except one minor > cosmetic flaw. > > + if (!HeapTupleIsValid(tup)) > + elog(ERROR, "cache lookup failed for publication %u", > + pubid); > > The last two lines don't need to be separated. ((Almost) All other > instance of the same error is written that way. > Thanks for the comments, the attached v3 patch has the changes for the same. Regards, Vignesh
Commits
-
Invalidate relcache for publications defined for all tables.
- 2eb09f27db6c 12.9 landed
- ddfc7299d0a3 13.5 landed
- 8db27fbc1197 14.0 landed
- 8bd534274099 15.0 landed
- 28cde380c1c0 10.19 landed
- 96e38fa5e549 11.14 landed