Re: BUG #15114: logical decoding Segmentation fault - Mailing list pgsql-bugs

From Andres Freund
Subject Re: BUG #15114: logical decoding Segmentation fault
Date
Msg-id 20180326161926.4jlm6c3vhy5wtos2@alap3.anarazel.de
Whole thread Raw
In response to Re: BUG #15114: logical decoding Segmentation fault  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
List pgsql-bugs
Hi,

On 2018-03-26 13:08:01 -0300, Alvaro Herrera wrote:
> I agree -- I think logicalrep_write_attrs() should not use
> RelationGetIndexAttrBitmap at all but instead use some lower-level way
> to obtain columns of the replica identity.

Indeed.


> I don't know whether there are historical-snapshot-related
> considerations to care about, in this code, though.

There shouldn't be much of an issue if all that's accessed is system
tables/cols.


> This is neither my area nor my code, but if Petr and Peter decline
> producing a patch for this quickly, I can look at it in a few days.

Cool!

Greetings,

Andres Freund


pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: BUG #15114: logical decoding Segmentation fault
Next
From: Chris Hanks
Date:
Subject: Re: [BUGS] Connections hang indefinitely while taking a LWLockTranchebuffer_content lock.