Re: [Logical Replication] TRAP: FailedAssertion("rel->rd_rel->relreplident == REPLICA_IDENTITY_DEFAULT || rel->rd_rel->relreplident == REPLICA_IDENTITY_FULL || rel->rd_rel->relreplident == REPLICA_IDENTITY_INDEX"
Dilip Kumar <dilipbalaut@gmail.com>
From: Dilip Kumar <dilipbalaut@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Andres Freund <andres@anarazel.de>,
Neha Sharma <neha.sharma@enterprisedb.com>, Peter Eisentraut <peter_e@gmx.net>, Petr Jelinek <petr@2ndquadrant.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2020-01-10T05:31:13Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Remove incorrect assertion for INSERT in logical replication's publisher
- 30104eca8856 10.12 landed
- 7eb6217db9ed 11.7 landed
- 7c21a964ef8a 12.2 landed
- 1088729e84cc 13.0 landed
-
Have logical replication subscriber fire column triggers
- b9c130a1fdf1 13.0 cited
On Fri, Jan 10, 2020 at 10:31 AM Michael Paquier <michael@paquier.xyz> wrote: > > On Fri, Jan 10, 2020 at 07:30:34AM +0530, Dilip Kumar wrote: > > On Thu, 9 Jan 2020 at 10:43 PM, Andres Freund <andres@anarazel.de> wrote: > >> There's not much point in having this assert, right? Given that it > >> covers all choices? Seems better to just drop it. > > > > Yeah right! > > Refreshing my mind on that... The two remaining assertions still make > sense for update and delete changes per the restrictions in place in > CheckCmdReplicaIdentity(), Right and there is a gap with the regression > tests. So combining all that I get the attached patch (origin point > is 665d1fa). Thoughts? LGTM -- Regards, Dilip Kumar EnterpriseDB: http://www.enterprisedb.com