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

From Peter Eisentraut
Subject Re: [BUGS] BUG #14758: Segfault with logical replication on afunction index
Date
Msg-id 31777fcd-3e65-2f50-3c53-ea7f48b5b9cc@2ndquadrant.com
Whole thread Raw
In response to Re: [BUGS] BUG #14758: Segfault with logical replication on afunction index  (Masahiko Sawada <sawada.mshk@gmail.com>)
Responses Re: [BUGS] BUG #14758: Segfault with logical replication on afunction index  (Andres Freund <andres@anarazel.de>)
List pgsql-bugs
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()?

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


-- 
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: Michael Paquier
Date:
Subject: Re: [BUGS] getting error could not open file "pg_xlog"
Next
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] Re: [BUGS] BUG #14758: Segfault with logicalreplication on a function index