Fix a couple of snapshot management bugs in the new ResourceOwner world:

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 7b640b0345dc4fbd39ff568700985b432f6afa07
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2008-12-04T14:51:02Z
Releases: 8.4.0
Fix a couple of snapshot management bugs in the new ResourceOwner world:
non-writable large objects need to have their snapshots registered on the
transaction resowner, not the current portal's, because it must persist until
the large object is closed (which the portal does not).  Also, ensure that the
serializable snapshot is recorded by the transaction resource owner too, even
when a subtransaction has changed the current resource owner before
serializable is taken.

Per bug reports from Pavan Deolasee.

Files