PersistHoldablePortal must establish the correct value for ActiveSnapshot
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 11 Apr 2005 15:59:47 +0000 (15:59 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 11 Apr 2005 15:59:47 +0000 (15:59 +0000)
commitadd2c3f4d6b137b35c097354438779aacde2f1d9
tree85082a447d44388b0e1346110994eb5ca8f7785c
parent88b229d9076748e09124c3ffae2987cf4ecd9ca3
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.
src/backend/commands/portalcmds.c