On Mon, Jan 5, 2015 at 9:57 PM, Robert Haas <robertmh...@gmail.com> wrote: > > On Sat, Jan 3, 2015 at 7:31 PM, Andres Freund <and...@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