Re: [BUGS] BUG #14758: Segfault with logical replication on afunction index - Mailing list pgsql-bugs

From Masahiko Sawada
Subject Re: [BUGS] BUG #14758: Segfault with logical replication on afunction index
Date
Msg-id CAD21AoCJBTZDZTG28MJdRv8c7iwr721paf_TCe9WydRVWnDhKw@mail.gmail.com
Whole thread Raw
In response to Re: [BUGS] BUG #14758: Segfault with logical replication on afunction index  (Andres Freund <andres@anarazel.de>)
Responses Re: [BUGS] BUG #14758: Segfault with logical replication on afunction index  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-bugs
On Wed, Aug 2, 2017 at 7:52 AM, Andres Freund <andres@anarazel.de> wrote:
> On 2017-08-01 16:28:31 -0400, Peter Eisentraut wrote:
>> On 7/28/17 06:07, Masahiko Sawada wrote:
>> > I could reproduced this issue and it seems to me that the cause of
>> > this is that the table sync worker didn't get a snapshot before
>> > starting table copy. Attached patch fixes this problem.
>>
>> Should it be GetTransactionSnapshot() rather than GetLatestSnapshot()?
>
> Don't think it makes a meaningful difference here, but I agree it's more
> consistent.

+1.

Regards,

--
Masahiko Sawada
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

pgsql-bugs by date:

Previous
From: Andres Freund
Date:
Subject: Re: [BUGS] BUG #14758: Segfault with logical replication on afunction index
Next
From: twodragon72@gmail.com
Date:
Subject: [BUGS] BUG #14764: #if HASH_DEBUG source in dynahash.c is fault.