Testing an extension without installing it
Testing an extension without installing it
От:
Florian 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
Re: Testing an extension without installing it
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
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