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

From Oskari Saarenmaa
Subject Re: [patch] extensions_path GUC
Date
Msg-id 562A108D.10800@ohmu.fi
Whole thread Raw
In response to [patch] extensions_path GUC  (Sandro Santilli <strk@keybit.net>)
List pgsql-hackers
23.10.2015, 13:33, Sandro Santilli kirjoitti:
> 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.
>
> Anyway, patch is attached.

This would be very useful. I proposed this previously in February, but 
that implementation (almost identical to yours) was rejected.

https://commitfest.postgresql.org/5/170/
http://www.postgresql.org/message-id/54E3C31F.8010703@ohmu.fi

Both of these implementations miss a way to override the path for 
extension .so files.

/ Oskari



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: [patch] extensions_path GUC
Next
From: Amit Kapila
Date:
Subject: Re: Parallel Seq Scan