Re: create subscription with (origin = none, copy_data = on)
Shlok Kyal <shlok.kyal.oss@gmail.com>
From: Shlok Kyal <shlok.kyal.oss@gmail.com>
To: "Zhijie Hou (Fujitsu)" <houzj.fnst@fujitsu.com>
Cc: vignesh C <vignesh21@gmail.com>,
Sergey Tatarintsev <s.tatarintsev@postgrespro.ru>, "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>,
Amit Kapila <amit.kapila16@gmail.com>
Date: 2025-02-21T06:45:36Z
Lists: pgsql-hackers
Attachments
- v9-0001-Fix-a-WARNING-for-data-origin-discrepancies.patch (application/x-patch) patch v9-0001
- v9_PG_17-PG_16-0001-Fix-a-WARNING-for-data-origin-discrep.patch (application/x-patch) patch v9-0001
On Thu, 20 Feb 2025 at 16:32, Zhijie Hou (Fujitsu) <houzj.fnst@fujitsu.com> wrote: > > On Wednesday, January 29, 2025 8:19 PM Shlok Kyal <shlok.kyal.oss@gmail.com> wrote: > > > > I have addressed the comments. Here is an updated patch. > > Thanks for updating the patch. The patches look mostly OK to me, I only have > one minor comments in 0002. > > 1. > > +CREATE PUBLICATION pub_b_c_2 FOR TABLE tab_part2_1; > +)); > + > +($result, $stdout, $stderr) = $node_C->psql( > + 'postgres', " > + CREATE SUBSCRIPTION sub_b_c CONNECTION '$node_B_connstr' PUBLICATION pub_b_c WITH (origin = none, copy_data = on); > +"); > > The naming style of new publications and subscriptions doesn't seem consistent > with existing ones in 030_origin. > I have addressed the comments and attached the updated v9 patch. I have also combined the 0001 and 0002 patch and updated the commit message as per off list discussion. Thanks and Regards Shlok Kyal
Commits
-
Fix a WARNING for data origin discrepancies.
- b4e0d0c53fab 18.0 landed
- 0ae1245e04ad 17.5 landed
- 1c2a2354c384 16.9 landed