Re: parallel mode and parallel contexts

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: parallel mode and parallel contexts
Дата
Msg-id CAA4eK1KgfbEyLCWaqU4Q5i1ETn6R1znf9L-W1AKQ_cq5iFiYJQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: parallel mode and parallel contexts  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Mon, Jan 5, 2015 at 9:57 PM, Robert Haas <robertmhaas@gmail.com> wrote:
>
> On Sat, Jan 3, 2015 at 7:31 PM, Andres Freund <andres@2ndquadrant.com> wrote:
>
> > * Doesn't the restriction in GetSerializableTransactionSnapshotInt()
> >   apply for repeatable read just the same?
>
> Yeah.  I'm not sure whether we really need that check at all, because
> there is a check in GetTransactionSnapshot() that probably checks the
> same thing.
>

The check in GetSerializableTransactionSnapshotInt() will also prohibit
any user/caller of SetSerializableTransactionSnapshot() in parallel mode
as that can't be prohibited by GetTransactionSnapshot().


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

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Misaligned BufferDescriptors causing major performance problems on AMD
Следующее
От: Amit Langote
Дата:
Сообщение: Possible typo in create_policy.sgml