Re: creating extension including dependencies

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: creating extension including dependencies
Дата
Msg-id 20150902153120.GA6822@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: creating extension including dependencies  (Andres Freund <andres@anarazel.de>)
Ответы Re: creating extension including dependencies  (Petr Jelinek <petr@2ndquadrant.com>)
Список pgsql-hackers
On 2015-09-02 17:27:38 +0200, Andres Freund wrote:
> 1) Passing the list of parents through the cascade DefElem strikes me as
> incredibly ugly.
> 
> For one the cascade option really should take a true/false type option
> on the C level (so you can do defGetBoolean()), for another passing
> through the list of parents via DefElem->arg seems wrong. You're
> supposed to be able to copy parsenodes and at the very least that's
> broken by the approach.

I think the fix here is to split off the bulk of CreateExtension() into
an internal function that takes additional parameters.



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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: PSA: Upcoming Linux scheduler changes
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: Horizontal scalability/sharding