Re: Hello PL/Python - Mailing list pgsql-hackers

From Hannu Krosing
Subject Re: Hello PL/Python
Date
Msg-id 3976C6CE.2112020E@tm.ee
Whole thread Raw
In response to Hello PL/Python  (Karel Zak <zakkr@zf.jcu.cz>)
Responses Re: Hello PL/Python  (Karel Zak <zakkr@zf.jcu.cz>)
Re: Hello PL/Python  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Karel Zak wrote:
> 
>  Today afternoon I a little study libpython1.5 and I mean create
> new PL language is not a problem.
> 
>  I a little play with it, and here is effect:
> 
> test=# CREATE FUNCTION py_test() RETURNS text AS '
> test'# a = ''Hello '';
> test'# b = ''PL/Python'';
> test'# plpython.retval( a + b );
> test'# ' LANGUAGE 'plpython';
> CREATE
> test=#
> test=#
> test=# SELECT py_test();
>      py_test
> -----------------
>  Hello PL/Python
> (1 row)
> 
>  Comments? Works on this already anyone?

There is a semi-complete implementation (i.e. no trigger procedures) 
by Vello Kadarpik (vello@pyystel.ee).

He is probably waiting for fmgr redesign or somesuch to complete before 
releasing it.

---------
Hannu


pgsql-hackers by date:

Previous
From: "Justin Hickey"
Date:
Subject: Re: 8Ko limitation
Next
From: Karel Zak
Date:
Subject: Re: Hello PL/Python