Re: PL/PySQL? - Mailing list pgsql-general

From Tom Lane
Subject Re: PL/PySQL?
Date
Msg-id 28572.980482865@sss.pgh.pa.us
Whole thread Raw
In response to PL/PySQL?  ("Carlos Villela" <carlos@valenti.com.br>)
Responses Re: PL/PySQL?  (Andreas Tille <tillea@rki.de>)
Re: PL/PySQL?  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-general
"Carlos Villela" <carlos@valenti.com.br> writes:
> I've been taking a look in the Feature Lists / TODO Files of PostgreSQL 7.1,
> and thought "hey, why is there PL/pgSQL, Perl and TCL interpreters available
> for PostgreSQL and no Python one? That'd be a great thing for, ie, Zope!"

Go for it ;-).  IIRC, someone else has been making noises about such a
thing, but no submission has showed up.  Check the PG mail list archives,
join forces, produce something ...

> Any thougts? What would it take to do it? Just some PgSQL Language API
> hacking and glueing with Python's C API?

The pltcl and plperl sources should give some hints --- note that
plperl is actually a hacked-up descendant of pltcl.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Performance: Unix sockets vs. TCP/IP sockets
Next
From: Steve Leibel
Date:
Subject: Re: Connection pooling