Skip site navigation (1) Skip section navigation (2)

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

From: momjian(at)svr1(dot)postgresql(dot)org (Bruce Momjian)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: This patch allows the PL/Python module to do (SRF) functions.
Date: 2005-07-04 19:03:31
Message-ID: 20050704190331.2451E5289B@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
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

Added Files:
-----------
    pgsql/src/pl/plpython/sql:
        plpython_setof.sql (r1.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/sql/plpython_setof.sql?rev=1.1&content-type=text/x-cvsweb-markup)

pgsql-committers by date

Next:From: Bruce MomjianDate: 2005-07-04 19:05:45
Subject: pgsql: I have to admit that I got the case of the preprocessor symbol on
Previous:From: Bruce MomjianDate: 2005-07-04 18:56:44
Subject: pgsql: I made the patch that improved the performance of replace_text().

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group