Peter,
I tried this patch out. I didn't get as far as testing the
functionality because of errors.
configure/make/make install/make check worked, without asserts. I
believe DF found some errors when he enabled assertions.
When I tried to install the actual transform extensions, though, it blew
up with symbol errors:
transforms=# create extension hstore
transforms-# ;
CREATE EXTENSION
transforms=# create extension ltree
transforms-# ;
CREATE EXTENSION
transforms=# create extension plperl
transforms-# ;
CREATE EXTENSION
transforms=# create extension plpythonu
transforms-# ;
CREATE EXTENSION
transforms=# create extension ltree_plpythonu;
ERROR: could not load library
"/home/josh/pg93/lib/postgresql/ltree_plpython2.so":
/home/josh/pg93/lib/postgresql/ltree_plpython2.so: undefined symbol:
PyList_New
STATEMENT: create extension ltree_plpythonu;
transforms=# create extension hstore_plperl;
ERROR: could not load library
"/home/josh/pg93/lib/postgresql/hstore_plperl.so":
/home/josh/pg93/lib/postgresql/hstore_plperl.so: undefined symbol:
hstoreUniquePairs
STATEMENT: create extension hstore_plperl;
This surprised me, because "make check" for the extensions passed fine.
--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com