plpython: Add SPI cursor support
Peter Eisentraut <peter_e@gmx.net>
plpython: Add SPI cursor support Add a function plpy.cursor that is similar to plpy.execute but uses an SPI cursor to avoid fetching the entire result set into memory. Jan Urbański, reviewed by Steve Singer
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/plpython.sgml | modified | +81 −0 |
| src/pl/plpython/expected/plpython_spi.out | modified | +151 −0 |
| src/pl/plpython/expected/plpython_subtransaction_0.out | modified | +70 −0 |
| src/pl/plpython/expected/plpython_subtransaction_5.out | modified | +70 −0 |
| src/pl/plpython/expected/plpython_subtransaction.out | modified | +66 −0 |
| src/pl/plpython/expected/plpython_test.out | modified | +3 −3 |
| src/pl/plpython/plpython.c | modified | +642 −0 |
| src/pl/plpython/sql/plpython_spi.sql | modified | +116 −0 |
| src/pl/plpython/sql/plpython_subtransaction.sql | modified | +52 −0 |