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

plpython improvements

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-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: plpython.patch
Description: text/x-patch (48.6 KB)

Responses

pgsql-hackers by date

Next:From: Chris BrowneDate: 2006-08-11 18:07:14
Subject: Re: snapshot replication with pg_dump
Previous:From: Tom LaneDate: 2006-08-11 17:09:21
Subject: Re: V3 protocol vs INSERT/UPDATE RETURNING

pgsql-patches by date

Next:From: Gregory StarkDate: 2006-08-11 18:52:41
Subject: Re: Coding style for emacs
Previous:From: korryd@enterprisedb.comDate: 2006-08-11 16:02:45
Subject: PL instrumentation plugin and Rendezvous variable support -version 2

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