Re: Runtime SHAREDIR for testing CREATE EXTENSION

Поиск
Список
Период
Сортировка
От Sandro Santilli
Тема Re: Runtime SHAREDIR for testing CREATE EXTENSION
Дата
Msg-id 20120224162650.GM9498@gnash
обсуждение исходный текст
Ответ на Re: Runtime SHAREDIR for testing CREATE EXTENSION  (Christoph Berg <cb@df7cb.de>)
Ответы Re: Runtime SHAREDIR for testing CREATE EXTENSION  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
On Fri, Feb 24, 2012 at 09:59:12AM +0100, Christoph Berg wrote:
> Re: Sandro Santilli 2012-02-22 <20120222101656.GB6125@gnash>
> > I'm not really looking for "inline extensions".
> > I do want to install the extension objects somewhere, just NOT
> > in the PostgreSQL builtin SHAREDIR but in an arbitrary staging
> > directory to use for QA the extension before distribution.
> 
> We have the same problem with testing extensions at build-time in the
> Debian packages. The server's SHAREDIR /usr/share/postgresql/... is
> only writable by root, while the build is running as buildd user, so
> there is no way to do "create extension whatimbuildingrightnow" to be
> able to run regression tests, even if this is a cluster I have just
> created with initdb.

Exactly. We don't initdb with PostGIS regression testing framework
but I've considered doing it for this specific case and it stroke me
that even then we couldn't control SHAREDIR.

--strk;
 ,------o-.  |   __/  |    Delivering high quality PostGIS 2.0 ! |  / 2.0 |    http://strk.keybit.net -
http://vizzuality.com`-o------'
 



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Yeb Havinga
Дата:
Сообщение: Re: [v9.2] Add GUC sepgsql.client_label
Следующее
От: Sandro Santilli
Дата:
Сообщение: Re: Runtime SHAREDIR for testing CREATE EXTENSION