Re: Use a separate pg_depend.deptype for extension membership? - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Use a separate pg_depend.deptype for extension membership?
Date
Msg-id AANLkTimUFPwmRzsMu=p4EXjDZAF8P8y=KTkUxGrsNytO@mail.gmail.com
Whole thread Raw
In response to Use a separate pg_depend.deptype for extension membership?  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Dimitri Fontaine
Date:
Subject: Re: Extensions support for pg_dump, patch v27
Next
From: Robert Haas
Date:
Subject: Re: Spread checkpoint sync