Re: creating extension including dependencies
| От | Andres Freund |
|---|---|
| Тема | Re: creating extension including dependencies |
| Дата | |
| Msg-id | 20150710135437.GJ26521@alap3.anarazel.de обсуждение исходный текст |
| Ответ на | creating extension including dependencies (Petr Jelinek <petr@2ndquadrant.com>) |
| Ответы |
Re: creating extension including dependencies
|
| Список | pgsql-hackers |
On 2015-06-15 00:50:08 +0200, Petr Jelinek wrote:
> + /* Create and execute new CREATE EXTENSION statement. */
> + ces = makeNode(CreateExtensionStmt);
> + ces->extname = curreq;
> + ces->if_not_exists = false;
> + parents = lappend(list_copy(recursive_parents), stmt->extname);
> + ces->options = list_make1(makeDefElem("recursive",
> + (Node *) parents));
> + CreateExtension(ces);
I think we should copy the SCHEMA option here and document that we use
the same schema. But it needs to be done in a way that doesn't error out
if the extension is not relocatable...
В списке pgsql-hackers по дате отправления: