Re: Finer Extension dependencies
Dimitri Fontaine <dimitri@2ndquadrant.fr>
From: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
To: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Dimitri Fontaine <dimitri@2ndquadrant.fr>, Hitoshi Harada <umi.tanuki@gmail.com>, Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2012-03-23T20:13:01Z
Lists: pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> So you still need an index on (oid), one on (extoid), and one on
> (extfeature).
Yes. And the main use case for the index on (extoid) is listing a given
extension's features, that we want to order by their name, then the set
of indexes I've been defining is now:
Indexes:
"pg_extension_feature_name_index" UNIQUE, btree (extfeature)
"pg_extension_feature_oid_index" UNIQUE, btree (oid)
"pg_extension_feature_extoid_name_index" btree (extoid, extfeature)
Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support