Re: old_snapshot_threshold allows heap:toast disagreement

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: old_snapshot_threshold allows heap:toast disagreement
Дата
Msg-id CAA4eK1+Wo2Uxvr8Zbf4J6j93=y7mpDLu1tC7a9F2JesqAVQ4wg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: old_snapshot_threshold allows heap:toast disagreement  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: old_snapshot_threshold allows heap:toast disagreement  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Fri, Jul 29, 2016 at 1:10 AM, Robert Haas <robertmhaas@gmail.com> wrote:
> On Wed, Jul 27, 2016 at 7:26 PM, Andres Freund <andres@anarazel.de> wrote:
>
> New version attached.
>

+static inline void
+InitToastSnapshot(Snapshot snapshot, XLogRecPtr lsn)
+{
+ snapshot->satisfies = HeapTupleSatisfiesToast;
+ snapshot->lsn = lsn;
+}

Here, don't you need to initialize whenTaken as that is also used in
TestForOldSnapshot_impl() to report error "snapshot too old".


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



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: pg_dumping extensions having sequences with 9.6beta3
Следующее
От: Greg Stark
Дата:
Сообщение: Re: [BUGS] BUG #14244: wrong suffix for pg_size_pretty()