Re: parallel mode and parallel contexts - Mailing list pgsql-hackers

From Amit Kapila
Subject Re: parallel mode and parallel contexts
Date
Msg-id CAA4eK1KgfbEyLCWaqU4Q5i1ETn6R1znf9L-W1AKQ_cq5iFiYJQ@mail.gmail.com
Whole thread Raw
In response to Re: parallel mode and parallel contexts  (Robert Haas <robertmhaas@gmail.com>)
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Misaligned BufferDescriptors causing major performance problems on AMD
Next
From: Amit Langote
Date:
Subject: Possible typo in create_policy.sgml