On Sat, 2008-09-06 at 21:31 -0400, Bruce Momjian wrote:
> Applied, and attached.
Thanks.
> > And for txid_visible_in_snapshot() comment added:
> > "Function should not be used with subtransaction xids. It is possible
> > that this function will return a true result for a subtransaction xid
> > that was actually still in progress at the time of the snapshot".
>
> I think the cleaner solution is to throw an appropriate error if a
> subtransaction xid is used, rather than adding documentation.
Or maybe check subtrans for it, as it really should be doing.
--
Simon Riggs www.2ndQuadrant.com
PostgreSQL Training, Services and Support