Re: old_snapshot_threshold allows heap:toast disagreement

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: old_snapshot_threshold allows heap:toast disagreement
Дата
Msg-id 20160729033455.cy6eg3mbrxboaxak@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: old_snapshot_threshold allows heap:toast disagreement  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On 2016-07-28 23:08:13 -0400, Robert Haas wrote:
> On Thu, Jul 28, 2016 at 7:29 PM, Andres Freund <andres@anarazel.de> wrote:
> > I think just iterating through the active snapshots would have been
> > fine. Afaics there's no guarantee that the first active snapshot pushed
> > is the relevant one - in contrast to registered one, which are ordered
> > by virtue of the heap.
> 
> I think the oldest snapshot has to be on the bottom of the stack; how not?

Well, one might push a previously acuired (and registered) snapshot onto
the stack. Afaics that'll only happen if the snapshot is already
registered, but I'm not sure.



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

Предыдущее
От: Kyotaro HORIGUCHI
Дата:
Сообщение: Re: Wrong defeinition of pq_putmessage_noblock since 9.5
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Wrong defeinition of pq_putmessage_noblock since 9.5