Re: Finer Extension dependencies

Поиск
Список
Период
Сортировка
От Hitoshi Harada
Тема Re: Finer Extension dependencies
Дата
Msg-id CAP7QgmkO2E41V1Et_XWu+vj+apm14-N1uwKe=cBpV3M-JEC4MQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Finer Extension dependencies  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Ответы Re: Finer Extension dependencies  (Robert Haas <robertmhaas@gmail.com>)
Re: Finer Extension dependencies  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Список pgsql-hackers
On Fri, Feb 24, 2012 at 2:09 PM, Dimitri Fontaine
<dimitri@2ndquadrant.fr> wrote:
> Hitoshi Harada <umi.tanuki@gmail.com> writes:
>> I confirmed DROP EXTENSION is fixed now.  In turn, it seems to me
>> "requires" doesn't work.  My test ext2.control looks like:
>
> I'm very sorry about that. It's all about playing with pg_depend and
> I've failed to spend enough time on that very topic to send a patch that
> just works, it seems.
>
> I'm going to fix that over the week-end.  Thanks for your reviewing so
> far.

Quickly reviewed the patch and found some issues.

- There are some mixture of pg_extension_feature and pg_extension_feature"s"
- The doc says pg_extension_feature"s" has four columns but it's not true.
- Line 608 is bad. In the loop, provides_itself is repeatedly changed
to true and false and I guess that's not what you meant.
- Line 854+, you can fold two blocks into one.  The two blocks are
similar and by giving provides list with list_make1 when
control->provides  == NIL you can do it in one block.
- s/trak/track/
- Line 960, you missed updating classId for dependency.

That's pretty much from me.  I just looked at the patch and have no
idea about grand architecture.  Marking Waiting on Author.

Thanks,
--
Hitoshi Harada


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

Предыдущее
От: Hannes Frederic Sowa
Дата:
Сообщение: Re: [PATCH] Documentation: remove confusing paragraph about backslash escaping
Следующее
От: Thom Brown
Дата:
Сообщение: Re: Command Triggers, patch v11