Received: from candle.pha.pa.us (candle.navpoint.com [162.33.245.46]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f0N4m7007881 for ; Mon, 22 Jan 2001 23:48:07 -0500 (EST) (envelope-from pgman@candle.pha.pa.us) Received: (from pgman@localhost) by candle.pha.pa.us (8.9.0/8.9.0) id XAA07025; Mon, 22 Jan 2001 23:47:40 -0500 (EST) From: Bruce Momjian Message-Id: <200101230447.XAA07025@candle.pha.pa.us> Subject: Re: PL/Python (was: Re: [GENERAL] Re: Trigger) In-Reply-To: "from Karel Zak at Dec 20, 2000 08:56:43 am" To: Karel Zak Date: Mon, 22 Jan 2001 23:47:40 -0500 (EST) CC: vello@pyystel.ee, pgsql-hackers X-Mailer: ELM [version 2.4ME+ PL77 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200101/921 X-Sequence-Number: 3615 Comments anyone? > > On Tue, 19 Dec 2000, Bruce Momjian wrote: > > > > PS. -hackers: What happen with PL/Python? Before 1/2 of year I ask if > > > anyone works on this and answer was: "yes, but 'he' is waiting for new > > > fmgr design". Tom's fmgr is done... IMHO it's big worse - The Python > > > has very good design for integration to other programs. > > > > Good question. I don't remember this old message, though. > > ... but I remember, in the archive is following message: > > > Re: Hello PL/Python > > ____________________________ > > > > * From: Hannu Krosing > > * To: Karel Zak > > * Subject: Re: Hello PL/Python > > * Date: Thu, 20 Jul 2000 12:30:54 +0300 > > _________________________________________________________________ > > > > 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 > > > Where is possible found it? IMHO it's really interesting feature. > > Karel > > > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026