Re: Segfault logical replication PG 10.4 - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Segfault logical replication PG 10.4
Date
Msg-id 20180730203321.bh6k3aysp6szbwer@alvherre.pgsql
Whole thread Raw
In response to Re: Segfault logical replication PG 10.4  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: Segfault logical replication PG 10.4  (Mai Peng <maily.peng@webedia-group.com>)
List pgsql-hackers
On 2018-Jul-28, Alvaro Herrera wrote:

> 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.

Pushed after changing the constraint in the test case to be less silly.
Thanks for the report and diagnosis.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: documentation about explicit locking
Next
From: Melanie Plageman
Date:
Subject: Re: Making "COPY partitioned_table FROM" faster