PersistHoldablePortal must establish the correct value for ActiveSnapshot

Tom Lane <tgl@sss.pgh.pa.us>

Commit: add2c3f4d6b137b35c097354438779aacde2f1d9
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-04-11T15:59:47Z
Releases: 8.0.3
PersistHoldablePortal must establish the correct value for ActiveSnapshot
while completing execution of the cursor's query.  Otherwise we get wrong
answers or even crashes from non-volatile functions called by the query.
Per report from andrew@supernews.

Files

PathChange+/−
src/backend/commands/portalcmds.c modified +6 −1