Re: Problem with logical replication
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Euler Taveira <euler.taveira@2ndquadrant.com>
Cc: Masahiko Sawada <masahiko.sawada@2ndquadrant.com>, Dilip Kumar <dilipbalaut@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2020-05-15T05:47:45Z
Lists: pgsql-hackers
Attachments
- logirep-assert-v3.patch (text/x-diff) patch v3
On Tue, May 12, 2020 at 09:45:45PM -0300, Euler Taveira wrote: >> In any case, it seems to me that the comment of >> build_replindex_scan_key needs to be updated. >> >> * This is not generic routine, it expects the idxrel to be replication >> * identity of a rel and meet all limitations associated with that. > > It is implicit that a primary key can be a replica identity so I think this > comment is fine. Agreed. I don't think either that we need to update this comment. I was playing with this patch and what you have here looks fine by me. Two nits: the extra parenthesis in the assert are not necessary, and the indentation had some diffs. Tom has just reindented the whole tree, so let's keep things clean. -- Michael
Commits
-
Fix assertion with relation using REPLICA IDENTITY FULL in subscriber
- 3acb30b49818 10.14 landed
- 70ae82b9b4b5 11.9 landed
- b4ded2f227f3 12.4 landed
- 7ccb2f54d9f3 13.0 landed