Re: BUG #14758: Segfault with logical replication on a function index

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>, scott(at)deltaex(dot)com
Cc: pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #14758: Segfault with logical replication on a function index
Date: 2017-08-01 20:28:31
Message-ID: 31777fcd-3e65-2f50-3c53-ea7f48b5b9cc@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2017-08-01 20:29:40 Re: [HACKERS] Re: BUG #14758: Segfault with logical replication on a function index
Previous Message Michael Paquier 2017-08-01 17:14:38 Re: getting error could not open file "pg_xlog"

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2017-08-01 20:29:40 Re: [HACKERS] Re: BUG #14758: Segfault with logical replication on a function index
Previous Message Robert Haas 2017-08-01 20:27:41 Re: asynchronous execution