pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Fix a crash in logical replication
Date: Wed, 30 Jan 2019 14:47:08 +0100
Message-ID: <34cf0db4-62e3-63b1-576c-310b785a877f@2ndquadrant.com> (raw)
In-Reply-To: <201901300954.7jrbodhjkgmm@alvherre.pgsql>
References: <201901300954.7jrbodhjkgmm@alvherre.pgsql>

On 30/01/2019 10:54, Alvaro Herrera wrote:
> On 2019-Jan-30, Peter Eisentraut wrote:
> 
>> Fix a crash in logical replication
>>
>> The bug was that determining which columns are part of the replica
>> identity index using RelationGetIndexAttrBitmap() would run
>> eval_const_expressions() on index expressions and predicates across
>> all indexes of the table, which in turn might require a snapshot, but
>> there wasn't one set, so it crashes.  There were actually two separate
>> bugs, one on the publisher and one on the subscriber.
> 
> The intention is to backpatch this fix all the way back to 9.4, right?

Yeah, the backpatching took a little longer than expected.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services




view thread (8+ messages)

Message-ID: <34cf0db4-62e3-63b1-576c-310b785a877f@2ndquadrant.com>
Permalink:  ../34cf0db4-62e3-63b1-576c-310b785a877f@2ndquadrant.com/
Also on:    postgresql.org/message-id/34cf0db4-62e3-63b1-576c-310b785a877f@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, alvherre@2ndquadrant.com
  Subject: Re: pgsql: Fix a crash in logical replication
  In-Reply-To: <34cf0db4-62e3-63b1-576c-310b785a877f@2ndquadrant.com>
  References: <201901300954.7jrbodhjkgmm@alvherre.pgsql> <34cf0db4-62e3-63b1-576c-310b785a877f@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox