Re: Added missing invalidations for all tables publication

From: vignesh C <vignesh21(at)gmail(dot)com>
To: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
Cc: houzj(dot)fnst(at)fujitsu(dot)com, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Added missing invalidations for all tables publication
Date: 2021-08-31 15:24:11
Message-ID: CALDaNm0c0eErfXgbP-VqpNcCLBATPA6cCH_1L+jgFtMruXrzOw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Aug 31, 2021 at 2:00 PM Kyotaro Horiguchi
<horikyota(dot)ntt(at)gmail(dot)com> wrote:
>
> At Tue, 31 Aug 2021 08:31:05 +0530, vignesh C <vignesh21(at)gmail(dot)com> wrote in
> > On Tue, Aug 31, 2021 at 7:40 AM houzj(dot)fnst(at)fujitsu(dot)com
> > <houzj(dot)fnst(at)fujitsu(dot)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

Attachment Content-Type Size
v3-0001-Added-missing-invalidations-for-all-tables-public.patch text/x-patch 5.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Sehrope Sarkuni 2021-08-31 15:34:56 Add jsonlog log_destination for JSON server logs
Previous Message Denis Hirn 2021-08-31 14:48:30 Re: [PATCH] Allow multiple recursive self-references