| From: | Sven Suursoho <pg(at)spam(dot)pri(dot)ee> |
|---|---|
| To: | pgsql-patches(at)postgresql(dot)org |
| Subject: | plpython improvements |
| Date: | 2006-08-11 17:10:30 |
| Message-ID: | 1155316230.44dcba0692a82@webmail.elion.ee |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-patches |
Hello,
As previous patch seems to be forgotten I send it again, updated against
current
HEAD.
Summary of changes:
* return SETOF as Python's sequence types (tuple, list) or using iterator
or
generator
* return composite types as sequence (tuple, list), mapping (dict) or class
(actually any object providing method __getattr__)
* named procedure arguments
Regression tests are also updated to include testing of new features and
existing tests to use named procedure parameters.
--
Sven Suursoho
| Attachment | Content-Type | Size |
|---|---|---|
| plpython.patch | text/x-patch | 48.6 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Chris Browne | 2006-08-11 18:07:14 | Re: snapshot replication with pg_dump |
| Previous Message | Tom Lane | 2006-08-11 17:09:21 | Re: V3 protocol vs INSERT/UPDATE RETURNING |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Gregory Stark | 2006-08-11 18:52:41 | Re: Coding style for emacs |
| Previous Message | korryd@enterprisedb.com | 2006-08-11 16:02:45 | PL instrumentation plugin and Rendezvous variable support - version 2 |