OSDN Git Service

PersistHoldablePortal must establish the correct value for ActiveSnapshot
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 11 Apr 2005 15:59:34 +0000 (15:59 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 11 Apr 2005 15:59:34 +0000 (15:59 +0000)
commit0c400f1bbc3231ed75e11d3ab0ec7a4a9d3c8486
tree75cefe74e642de978d9d11efc35b63d2962afb16
parent72fd5590375fdb671569a6d59157ad758bd5cb8e
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