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  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: LANGUAGE sql functions don't use the custom plan logic
Следующее
От: "Shulgin, Oleksandr"
Дата:
Сообщение: Re: [PATCH] Generalized JSON output functions