Re: creating extension including dependencies - Mailing list pgsql-hackers

From David Fetter
Subject Re: creating extension including dependencies
Date
Msg-id 20150712222641.GA2535@fetter.org
Whole thread Raw
In response to Re: creating extension including dependencies  ("David E. Wheeler" <david@justatheory.com>)
List 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@anarazel.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@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com

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



pgsql-hackers by date:

Previous
From: Noah Misch
Date:
Subject: Re: PostgreSQL 9.5 Alpha 1 build fail with perl 5.22
Next
From: Tom Lane
Date:
Subject: Re: TABLESAMPLE patch is really in pretty sad shape