RE: pg_get_publication_tables() output duplicate relid
Zhijie Hou (Fujitsu) <houzj.fnst@fujitsu.com>
From: "houzj.fnst@fujitsu.com" <houzj.fnst@fujitsu.com>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>, Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>, Amit Langote <amitlangote09@gmail.com>
Date: 2021-11-25T01:57:01Z
Lists: pgsql-hackers
On Wed, Nov 24, 2021 4:48 PM Amit Kapila <amit.kapila16@gmail.com> wrote: > On Mon, Nov 22, 2021 at 12:55 PM Amit Langote <amitlangote09@gmail.com> > wrote: > > > > On Fri, Nov 19, 2021 at 2:28 PM Amit Kapila <amit.kapila16@gmail.com> > wrote: > > > On Fri, Nov 19, 2021 at 7:19 AM Amit Langote <amitlangote09@gmail.com> > wrote: > > > > As in, > > > > do we know of any replication (initial/streaming) misbehavior > > > > caused by the duplicate partition OIDs in this case or is the only > > > > problem that pg_publication_tables output looks odd? > > > > > > The latter one but I think either we should document this or change > > > it as we can't assume users will follow what subscriber-side code does. > > > > On second thought, I agree that de-duplicating partitions from this > > view is an improvement. > > > > Fair enough. Hou-San, Can you please submit the updated patch after fixing > any pending comments including the test case? OK, I will submit the updated patch soon. Best regards, Hou zj
Commits
-
Improve invalidation handling in pgoutput.c.
- 7f481b8d3884 15.0 cited
-
De-duplicate the result of pg_publication_tables view.
- a61bff2bf479 15.0 landed
-
Doc: Add "Attach Partition" limitation during logical replication.
- 64e8456bbde1 13.6 landed
- 4b8eec716a52 14.2 landed
- eb7828f54a44 15.0 landed