Re: [patch] extensions_path GUC - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: [patch] extensions_path GUC
Date
Msg-id 562A1016.102@iki.fi
Whole thread Raw
In response to [patch] extensions_path GUC  (Sandro Santilli <strk@keybit.net>)
Responses Re: [patch] extensions_path GUC  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
On 10/23/2015 01:33 PM, Sandro Santilli wrote:
> One problem we have with PostGIS is you cannot test an extension
> unless you have access to the system extension dir.
>
> The following patch tries to address that by allowing to specify
> a per-cluster extension path via an "extensions_path" GUC.
>
> It is more a request-for-comments rather than a ready patch, as
> I hadn't considered all use cases like upgrades of already-loaded
> extensions and the possibility ot have a list of directories to
> seek for extensions.

This was discussed a while ago already, see 
http://www.postgresql.org/message-id/51AE0845.8010600@ocharles.org.uk.

In short, I don't think just setting extensions_path is enough or 
desirable, but I would welcome a patch that makes "make check" work for 
extensions, by creating a temporary installation.

- Heikki




pgsql-hackers by date:

Previous
From: Sandro Santilli
Date:
Subject: [patch] extensions_path GUC
Next
From: Oskari Saarenmaa
Date:
Subject: Re: [patch] extensions_path GUC