pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Peter Eisentraut <peter@eisentraut.org>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Fix a crash in logical replication
Date: Wed, 30 Jan 2019 06:54:33 -0300
Message-ID: <201901300954.7jrbodhjkgmm@alvherre.pgsql> (raw)
In-Reply-To: <E1gokls-0007wt-0X@gemulon.postgresql.org>

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?

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




view thread (8+ messages)  latest in thread

Message-ID: <201901300954.7jrbodhjkgmm@alvherre.pgsql>
Permalink:  ../201901300954.7jrbodhjkgmm@alvherre.pgsql/
Also on:    postgresql.org/message-id/201901300954.7jrbodhjkgmm@alvherre.pgsql

 · 

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: alvherre@2ndquadrant.com, peter@eisentraut.org
  Subject: Re: pgsql: Fix a crash in logical replication
  In-Reply-To: <201901300954.7jrbodhjkgmm@alvherre.pgsql>
  References: <E1gokls-0007wt-0X@gemulon.postgresql.org> <201901300954.7jrbodhjkgmm@alvherre.pgsql>

* 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