Re: [GENERAL] Testing an extension without installing it

2013-12-06 Thread Tom Lane
Florian Weimer  writes:
> Is it possible to test an C extension module (.so file) without 
> installing a SHAREDIR/extension/extension_name.control file?

Well, you could just ignore the extension mechanism: do some
manual CREATE FUNCTION commands and test the functionality
through those.

regards, tom lane


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[GENERAL] Testing an extension without installing it

2013-12-06 Thread Florian Weimer
Is it possible to test an C extension module (.so file) without 
installing a SHAREDIR/extension/extension_name.control file?


My test suite already runs initdb and the database as a non-postgres 
user, but I don't see a way to override the extension control file location.


--
Florian Weimer / Red Hat Product Security Team


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general