Re: Added schema level support for publication.

From: vignesh C <vignesh21(at)gmail(dot)com>
To: Ajin Cherian <itsajin(at)gmail(dot)com>
Cc: "tanghy(dot)fnst(at)fujitsu(dot)com" <tanghy(dot)fnst(at)fujitsu(dot)com>, Rahila Syed <rahilasyed90(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Added schema level support for publication.
Date: 2021-06-22 04:15:04
Message-ID: CALDaNm0s82pbq0MMqAO+TR9gw1MW-UumPvXOn71pUwdsQExPMQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jun 22, 2021 at 6:57 AM Ajin Cherian <itsajin(at)gmail(dot)com> wrote:
>
> On Mon, Jun 21, 2021 at 3:16 PM vignesh C <vignesh21(at)gmail(dot)com> wrote:
>
>
> > I felt this is ok as we specify the keycount to be 1, so only the
> > key[0] will be used. Thoughts?
> > ScanKeyInit(&key[0],
> > Anum_pg_class_relkind,
> > BTEqualStrategyNumber, F_CHAREQ,
> > CharGetDatum(RELKIND_PARTITIONED_TABLE));
> >
> > scan = table_beginscan_catalog(classRel, 1, key);
> >
>
> It maybe fine, just doesn't look correct when you look at the function
> as a whole.

I have added a local variable for this to avoid confusion.

Updated patch has the fix for this, this also includes the fixes for
the other comments you had given.
I have removed the skip table patches to keep the focus on the main
patch, once this patch gets into committable shape, I will focus on
the skip table patch.

Regards,
Vignesh

Attachment Content-Type Size
v7-0001-Added-schema-level-support-for-publication.patch text/x-patch 91.5 KB
v7-0002-Tests-and-documentation-for-schema-level-support-.patch text/x-patch 44.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2021-06-22 04:37:45 Re: SSL/TLS instead of SSL in docs
Previous Message Michael Paquier 2021-06-22 03:53:46 Re: Different compression methods for FPI