Re: Segfault logical replication PG 10.4

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Quan Tran <account(at)itscaro(dot)me>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org, Mai Peng <maily(dot)peng(at)webedia-group(dot)com>
Subject: Re: Segfault logical replication PG 10.4
Date: 2018-07-30 20:33:21
Message-ID: 20180730203321.bh6k3aysp6szbwer@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: 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
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Melanie Plageman 2018-07-30 20:48:06 Re: Making "COPY partitioned_table FROM" faster
Previous Message Peter Eisentraut 2018-07-30 20:27:14 Re: documentation about explicit locking