I've coded up a module that implements python as a procedural language
for postgresql. A tarball can be downloaded at
http://users.ids.net/~bosma
If anyone is interested, take a look at it. Comments and suggestions
would be appreciated. Functions and triggers are work. The SPI
interface can run plain queries (SPI_exec), but not plans. I'm sure
there's a bug or three still lurking in there. Unfortunately it
doesn't use the new function interface.
Thanks
Andrew Bosma
--