From: | Hannu Krosing <hannu(at)skype(dot)net> |
---|---|
To: | Tino Wildenhain <tino(at)wildenhain(dot)de> |
Cc: | Matteo Bertini <matteo(at)naufraghi(dot)net>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: plpython sets |
Date: | 2006-07-17 21:44:55 |
Message-ID: | 1153172695.2794.26.camel@localhost.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Ühel kenal päeval, E, 2006-07-17 kell 22:54, kirjutas Tino Wildenhain:
> Matteo Bertini wrote:
> > Hello all,
> > I'm working with pl/python and I'd like to use the set returning
> > function feature.
> >
> > I'm not working in a debug python, so the iterator bug is not a problem me.
> >
> > Can someone point me to some plpython.c "setof" enabled sources?
> >
> > Hint to build them in an ubuntu dapper environment are welcome too :-P !
> >
> > Thanks a lot every developer involved in postgres!
> > PL/setyourlanguagehere is fantastic!
>
>
> http://python.projects.postgresql.org/
>
> This works very well for me - although it needs some more
> finish (docs and so on) maybe if more people using it
> it can get better.
>
> SRF - even lazy ones (e.g. generators) work nicely there.
We at Skype or more precisely Sven Suursoho :) , has added these to the
version of plpython in the core and they will be available in 8.2.
Code for 8.0 and 8.1 will be available on request, and soon also from
https://developer.skype.com/
Enchancements added are:
* named parameters (args[] still valid)
* returning composite types (dict, tuple, list, class)
* returning SETOF as any iterable object (list, tuple, iterator,
generator)
--
----------------
Hannu Krosing
Database Architect
Skype Technologies OÜ
Akadeemia tee 21 F, Tallinn, 12618, Estonia
Skype me: callto:hkrosing
Get Skype for free: http://www.skype.com
From | Date | Subject | |
---|---|---|---|
Next Message | Hannu Krosing | 2006-07-17 21:54:05 | Re: plPHP and plRuby |
Previous Message | Joe Conway | 2006-07-17 21:42:10 | Re: 8.2 features? |