Re: transforms

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: transforms
Дата
Msg-id 51378299.2060209@agliodbs.com
обсуждение исходный текст
Ответ на Re: transforms  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: transforms  (Andres Freund <andres@2ndquadrant.com>)
Список 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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: sql_drop Event Trigger
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Support for REINDEX CONCURRENTLY