Re: Segfault logical replication PG 10.4
Alvaro Herrera <alvherre@2ndquadrant.com>
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Quan Tran <account@itscaro.me>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2018-07-28T17:52:12Z
Lists: pgsql-hackers
Attachments
- 0001-Fix-crash-in-logical-rep-subscriber.patch (text/plain)
Aha, I see, thanks. Here's a complete fix with included testcase. In
an unpatched assert-enabled build, this crashes this
TRAP: FailedAssertion("!(ActiveSnapshotSet())", File: "/pgsql/source/REL_10_STABLE/src/backend/tcop/postgres.c", Line: 788)
Will push on Monday.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Set ActiveSnapshot when logically replaying inserts
- 5dbd0beb8a95 11.0 landed
- 4f10e7ea7b22 12.0 landed
- 2c4d0f32e0c7 10.5 landed