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)
commitce236f7de26f3bcbfd3cb01349e129fe107653dd
treee712bb063f89c37f3be52187996e956f889755a4
parent1af5a07a359a09eec4797f20dcbfca913b3e3e04
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