From: Noah Misch <noah@leadboat.com>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Cc: michael@paquier.xyz
Cc: andres@anarazel.de
Cc: petr.jelinek@2ndquadrant.com
Cc: pet.slavov@gmail.com
Cc: alvherre@alvh.no-ip.org
Cc: petr@2ndquadrant.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15114: logical decoding Segmentation fault
Date: Mon, 28 Jan 2019 17:53:50 -0800
Message-ID: <20190129015350.GA4128278@rfd.leadboat.com> (raw)
In-Reply-To: <56d0ccb4-e9c9-1225-256d-c287adf5494e@2ndquadrant.com>
References: <20181030230736.GA1632@paquier.xyz>
<20181030230931.22pms35u3sqx4i7c@alap3.anarazel.de>
<20181031072938.GC7862@paquier.xyz>
<20181119.184916.179764314.horiguchi.kyotaro@lab.ntt.co.jp>
<56d0ccb4-e9c9-1225-256d-c287adf5494e@2ndquadrant.com>
Looks good. I found no functional problems.
On Mon, Jan 28, 2019 at 10:32:16PM +0100, Peter Eisentraut wrote:
> The fix is to avoid the constant expressions simplification in
> RelationGetIndexAttrBitmap(), so that it becomes safe to call in these
> contexts. The constant expressions simplification comes from the
> calls to RelationGetIndexExpressions()/RelationGetIndexPredicate() via
> BuildIndexInfo(). But RelationGetIndexAttrBitmap() calling
> BuildIndexInfo() is overkill. The latter just takes pg_index catalog
> information, packs it into the IndexInfo structure, which former than
> just unpacks again and throws away.
s/former than/the former then/
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-bugs@postgresql.org
Cc: noah@leadboat.com, peter.eisentraut@2ndquadrant.com, horiguchi.kyotaro@lab.ntt.co.jp, michael@paquier.xyz, andres@anarazel.de, petr.jelinek@2ndquadrant.com, pet.slavov@gmail.com, alvherre@alvh.no-ip.org, petr@2ndquadrant.com
Subject: Re: BUG #15114: logical decoding Segmentation fault
In-Reply-To: <20190129015350.GA4128278@rfd.leadboat.com>
References: <20181030230736.GA1632@paquier.xyz> <20181030230931.22pms35u3sqx4i7c@alap3.anarazel.de> <20181031072938.GC7862@paquier.xyz> <20181119.184916.179764314.horiguchi.kyotaro@lab.ntt.co.jp> <56d0ccb4-e9c9-1225-256d-c287adf5494e@2ndquadrant.com> <20190129015350.GA4128278@rfd.leadboat.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