]> granicus.if.org Git - postgresql/commit
Back out patch. This should be done like other server-side languages.
authorBruce Momjian <bruce@momjian.us>
Tue, 5 Jul 2005 18:15:51 +0000 (18:15 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 5 Jul 2005 18:15:51 +0000 (18:15 +0000)
commit2d6c375c5f34948dc32221c3075265d73b561ee8
tree89455c88fa2474af1aaee6dfebcbb49c5fe0f8ed
parent576ac4b8c9337cd5b0e12c2f827dd99c5ee6f25b
Back out patch.  This should be done like other server-side languages.

---------------------------------------------------------------------------

This patch allows the PL/Python module to do (SRF) functions.

The patch was taken from the CVS version.

I have modified the plpython.c file and have added a test sql script for
testing the functionality. It was actually the script that was in the
8.0.3 version but have since been removed.

In order to signal the end of a set, the called python function must
simply return plpy.EndOfSet and the set would be returned.

Gerrit van Dyk
src/pl/plpython/plpython.c
src/pl/plpython/sql/plpython_setof.sql [deleted file]