Re: [BUGS] BUG #14758: Segfault with logical replication on afunction index

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [BUGS] BUG #14758: Segfault with logical replication on afunction index
Дата
Msg-id 20170801225232.csedyabn6rifsrx6@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: [BUGS] BUG #14758: Segfault with logical replication on afunction index  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Ответы Re: [BUGS] BUG #14758: Segfault with logical replication on afunction index  (Masahiko Sawada <sawada.mshk@gmail.com>)
Список pgsql-bugs
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.

- Andres


-- 
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 по дате отправления:

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: [BUGS] Crash report for some ICU-52 (debian8) COLLATE andwork_mem values
Следующее
От: Masahiko Sawada
Дата:
Сообщение: Re: [BUGS] BUG #14758: Segfault with logical replication on afunction index