From: | Gerrit van Dyk <gvandyk(at)agileworks(dot)net> |
---|---|
To: | pgsql-patches(at)postgresql(dot)org |
Subject: | Python setof patch |
Date: | 2005-06-15 13:03:46 |
Message-ID: | 42B02732.3050904@agileworks.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
Hi,
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.
Please feel free to email me if you experience any problems.
My next project I am working in is to get the PL/Python module to return
records (ie. structured data)
Regards
Gerrit van Dyk
AgileWorks (Pty) Ltd
Attachment | Content-Type | Size |
---|---|---|
setof-python.patch | text/plain | 2.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2005-06-15 13:55:42 | Re: pg_autovacuum patch to display db name in log file is broken |
Previous Message | Bruce Momjian | 2005-06-15 12:52:51 | Re: uptime function to postmaster |