Testing an extension without installing it

Started by Florian Weimerover 12 years ago2 messagesgeneral
Jump to latest
#1Florian Weimer
fweimer@redhat.com

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

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Florian Weimer (#1)
Re: Testing an extension without installing it

Florian Weimer <fweimer@redhat.com> 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