Back out patch. This should be done like other server-side languages.

Bruce Momjian <bruce@momjian.us>

Commit: 2d6c375c5f34948dc32221c3075265d73b561ee8
Author: Bruce Momjian <bruce@momjian.us>
Date: 2005-07-05T18:15:51Z
Releases: 8.1.0
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

Files

PathChange+/−
src/pl/plpython/plpython.c modified +1 −16
src/pl/plpython/sql/plpython_setof.sql deleted +0 −12