]> granicus.if.org Git - postgresql/commit
plpython: Add SPI cursor support
authorPeter Eisentraut <peter_e@gmx.net>
Mon, 5 Dec 2011 17:52:15 +0000 (19:52 +0200)
committerPeter Eisentraut <peter_e@gmx.net>
Mon, 5 Dec 2011 17:52:15 +0000 (19:52 +0200)
commit89e850e6fda9e4e441712012abe971fe938d595a
tree4ad184525069fbd25f89879c2613403f2212d869
parente6d9e2106f0dda459063126d07967df197b7b5fe
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
doc/src/sgml/plpython.sgml
src/pl/plpython/expected/plpython_spi.out
src/pl/plpython/expected/plpython_subtransaction.out
src/pl/plpython/expected/plpython_subtransaction_0.out
src/pl/plpython/expected/plpython_subtransaction_5.out
src/pl/plpython/expected/plpython_test.out
src/pl/plpython/plpython.c
src/pl/plpython/sql/plpython_spi.sql
src/pl/plpython/sql/plpython_subtransaction.sql