Re: transforms - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: transforms
Date
Msg-id 51475532.10003@agliodbs.com
Whole thread Raw
In response to Re: transforms  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Responses Re: transforms  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
On 03/13/2013 09:54 AM, Dimitri Fontaine wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
>> At run time, this will sort itself out, because all the required modules
>> will be loaded.  The problem is when you create the "glue" extension and
>> haven't invoked any code from any of the dependent extension in the
>> session.  Abstractly, the possible solutions are either not to check the
>> functions when the extension is created (possibly settable by a flag) or
>> to somehow force a load of all dependent extensions when the new
>> extension is created.  (I say extension here even though dynamically
>> loadable modules are attached to functions, which makes this even more
>> confusing.)
> 
> I think CREATE EXTENSION should be LOADing all distinct modules
> referenced from all required extensions functions. It does sound easy
> enough to code, and I can't imagine why we would want to not do that.

Where are we with this?  Will the loading issue be fixed, or should we
bump this feature to 9.4?


-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Enabling Checksums
Next
From: Fujii Masao
Date:
Subject: Re: Support for REINDEX CONCURRENTLY