Re: creating extension including dependencies

From: David Fetter <david(at)fetter(dot)org>
To: "David E(dot) Wheeler" <david(at)justatheory(dot)com>
Cc: Andres Freund <andres(at)anarazel(dot)de>, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, Petr Jelinek <petr(at)2ndquadrant(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: creating extension including dependencies
Date: 2015-07-12 22:26:41
Message-ID: 20150712222641.GA2535@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jul 07, 2015 at 10:14:49AM -0700, David E. Wheeler wrote:
> On Jul 7, 2015, at 6:41 AM, Andres Freund <andres(at)anarazel(dot)de> wrote:
>
> > At the minimum I'd like to see that CREATE EXTENSION foo; would
> > install install extension 'bar' if foo dependended on 'bar' if
> > CASCADE is specified. Right now we always error out saying that
> > the dependency on 'bar' is not fullfilled - not particularly
> > helpful.
>
> +1
>
> If `yum install foo` also installs bar, and `pgxn install foo`
> downloads, builds, and installs bar, it makes sense to me that
> `CREATE EXTENSION foo` would install bar if it was available, and
> complain if it wasn’t.

This is this baseline sane behavior. Getting the full dependency
tree, although it would be very handy, would require more
infrastructure than we have now.

Cheers,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2015-07-12 22:36:51 Re: TABLESAMPLE patch is really in pretty sad shape
Previous Message Noah Misch 2015-07-12 22:05:28 Re: PostgreSQL 9.5 Alpha 1 build fail with perl 5.22