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

From Vik Fearing
Subject Re: creating extension including dependencies
Date
Msg-id 557EA3C0.3070103@2ndquadrant.fr
Whole thread Raw
In response to creating extension including dependencies  (Petr Jelinek <petr@2ndquadrant.com>)
List pgsql-hackers
On 06/15/2015 12:50 AM, Petr Jelinek wrote:
> Hi,
> 
> I am getting tired installing manually required extensions manually. I
> was wondering if we might want to add option to CREATE SEQUENCE that
> would allow automatic creation of the extensions required by the
> extension that is being installed by the user.

I would like this, too.

> I call it prototype mainly because the syntax (CREATE EXTENSION ...
> RECURSIVE) could be improved, I originally wanted to do something like
> INCLUDING DEPENDENCIES but that need news (unreserved) keyword and I
> don't think it's worth it, plus it's wordy.

If we're bikeshedding already, I prefer CREATE EXTENSION ... CASCADE;
-- 
Vik Fearing                                          +33 6 46 75 15 36
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support



pgsql-hackers by date:

Previous
From: Vik Fearing
Date:
Subject: Re: Sequence Access Method WIP
Next
From: Michael Meskes
Date:
Subject: Re: Collection of memory leaks for ECPG driver