Timeline for How can I keep a result set without keeping the transaction open?
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 8, 2013 at 21:43 | vote | accept | A-K | ||
Nov 8, 2013 at 16:19 | comment | added | Erwin Brandstetter |
+1 This fits the question perfectly. It may be worth mentioning: Using WITH HOLD , the cursor can continue to be accessed by subsequent transactions in the same session . Effectively, the rows for the cursor are copied to an internal temporary table. I would rather create a temporary table myself. Same performance, more flexible.
|
|
Nov 8, 2013 at 1:54 | history | answered | Daniel Vérité | CC BY-SA 3.0 |