Re: old_snapshot_threshold allows heap:toast disagreement

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: old_snapshot_threshold allows heap:toast disagreement
Дата
Msg-id CAA4eK1JtNAEh5pKufPFMBxbVmExPURXOMOmbhd9DK8FqE5hLgw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: old_snapshot_threshold allows heap:toast disagreement  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Wed, Aug 3, 2016 at 2:22 AM, Robert Haas <robertmhaas@gmail.com> wrote:
> On Thu, Jul 28, 2016 at 7:29 PM, Andres Freund <andres@anarazel.de> wrote:
>
> Yeah.  Actually, consistent with the above, I discovered that as long
> as we consult both the active snapshot stack and the pairingheap of
> registered snapshots, it seems to be fine to just insist that we
> always get a snapshot back from the snapmgr and use that to initialize
> the TOAST snapshot.  So I did it that way in the attached version.
>
> New patch attached.
>

Code looks good to me.  I have not tested the patch.



-- 
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Why we lost Uber as a user
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: Surprising behaviour of \set AUTOCOMMIT ON