Re: transforms

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: transforms
Date: 2013-03-06 17:53:29
Message-ID: 51378299.2060209@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter,

> 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.

Just invoking code doesn't seem to be enough. I tried just using the
Hstore data type, and then loading hstore_plperl, but that still didn't
work. It seems like only CREATE EXTENSION loads *all* the symbols.

> 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.

The latter would be ideal, but I don't know that we currently have any
mechanism for it.

--Josh

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2013-03-06 17:54:04 Re: Support for REINDEX CONCURRENTLY
Previous Message Robert Haas 2013-03-06 17:49:09 Re: sql_drop Event Trigger