Re: Use a separate pg_depend.deptype for extension membership?

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Use a separate pg_depend.deptype for extension membership?
Дата
Msg-id AANLkTimUFPwmRzsMu=p4EXjDZAF8P8y=KTkUxGrsNytO@mail.gmail.com
обсуждение исходный текст
Ответ на Use a separate pg_depend.deptype for extension membership?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Fri, Feb 4, 2011 at 2:08 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> The extensions patch currently records that an object is part of an
> extension by making a pg_depend entry with deptype 'i' (INTERNAL).
> While that has the behavior we want, I wonder whether it wouldn't
> be smarter in the long run to invent a new deptype for this purpose.

+1.

> If we go with a new deptype, I was thinking of using 'm' (macro
> DEPENDENCY_MEMBER) but am not set on that.  Have we been using any
> particular term to refer to the objects that belong to an extension?

DEPENDENCY_EXTENSION?

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Dimitri Fontaine
Дата:
Сообщение: Re: Extensions support for pg_dump, patch v27
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Spread checkpoint sync