On Mon, Jun 20, 2022 1:33 PM Amit Kapila <amit.kapil...@gmail.com> wrote: > > On Fri, Jun 17, 2022 at 11:22 AM shiy.f...@fujitsu.com > <shiy.f...@fujitsu.com> wrote: > > > > On Fri Jun 17, 2022 11:06 AM shiy.f...@fujitsu.com <shiy.f...@fujitsu.com> > wrote: > > > > > > Attached the new version of patch set. I also moved the partitioned table > > > check > > > in logicalrep_rel_mark_updatable() to check_relation_updatable() as > > > discussed > > > [2]. > > > > > > > Attached back-branch patches of the first patch. > > > > One minor comment: > + /* > + * If it is a partitioned table, we don't check it, we will check its > + * partition later. > + */ > > Can we change the above comment to: "For partitioned tables, we only > need to care if the target partition is updatable (aka has PK or RI > defined for it)."? >
Thanks for your comment. Modified in the attached patches. Regards, Shi yu
v11-0001-Fix-partition-table-s-RI-checking-on-the-subscri.patch
Description: v11-0001-Fix-partition-table-s-RI-checking-on-the-subscri.patch
v11-pg13-0001-Fix-partition-table-s-RI-checking-on-the-subsc_patch
Description: v11-pg13-0001-Fix-partition-table-s-RI-checking-on-the-subsc_patch
v11-pg14-0001-Fix-partition-table-s-RI-checking-on-the-subsc_patch
Description: v11-pg14-0001-Fix-partition-table-s-RI-checking-on-the-subsc_patch