On Fri, Dec 20, 2019 at 12:46 AM Simon Riggs <simon(at)2ndquadrant(dot)com> wrote:
> If the TopTransactionId is not assigned, we can leave the whole function more quickly, not just avoid a test.
Those things are not really any different from each other. You leave
the function when you've done all the necessary tests....
> Read only transactions should have a fast path thru this function since they frequently read more data than write transactions.
With regard to this point, I second Tomas's comments.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company