Re: extension_control_path - Mailing list pgsql-hackers

From Tom Lane
Subject Re: extension_control_path
Date
Msg-id 16575.1389713588@sss.pgh.pa.us
Whole thread Raw
In response to extension_control_path  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Responses Re: extension_control_path  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Re: extension_control_path  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
Dimitri Fontaine <dimitri@2ndQuadrant.fr> writes:
> Please find attached to this email a patch implementing a new GUC that
> allows users to setup a list of path where PostgreSQL will search for
> the extension control files at CREATE EXTENSION time.

Why is that a good idea?  It's certainly not going to simplify DBAs'
lives, more the reverse.  ("This dump won't reload." "Uh, where did
you get that extension from?" "Ummm...")

Assuming that there is some need for loading extensions from nonstandard
places, would it be better to just allow a filename specification in
CREATE EXTENSION?  (I don't know the answer, since the use-case isn't
apparent to me in the first place, but it seems worth asking.)
        regards, tom lane



pgsql-hackers by date:

Previous
From: Marko Tiikkaja
Date:
Subject: Re: plpgsql.consistent_into
Next
From: Alexander Korotkov
Date:
Subject: Re: GIN improvements part2: fast scan