PersistHoldablePortal must establish the correct value for ActiveSnapshot
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/portalcmds.c | modified | +6 −1 |