From: Tom Lane <tgl@sss.pgh.pa.us>
To: Eric Hanson <eric@aquameta.com>
Cc: PostgreSQL General <pgsql-general@lists.postgresql.org>
Subject: Re: extension dependencies with 'requires'
Date: Tue, 01 May 2018 14:00:21 -0400
Message-ID: <5501.1525197621@sss.pgh.pa.us> (raw)
In-Reply-To: <CACA6kxgndDDZdzaCrMRyxO4GqjMHC1v_UxYWWU=7MPvSD25M3g@mail.gmail.com>
References: <CACA6kxgndDDZdzaCrMRyxO4GqjMHC1v_UxYWWU=7MPvSD25M3g@mail.gmail.com>
Eric Hanson <eric@aquameta.com> writes:
> I'm trying to author an extension and running into troubles with
> dependencies. The extension depends on the uuid-ossp, pgcrypto and
> postgres_fdw extensions, but I would like the dependencies to be installed
> in the public schema, though the extension itself lives in its own schema.
> Is there a way to use CREATE EXTENSION ... CASCADE and specify in the
> control file which schema the dependencies are installed in?
Afraid not. CASCADE will pass down the same target-schema option to the
child CREATE EXTENSION operations that appeared in the initial command.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, eric@aquameta.com
Subject: Re: extension dependencies with 'requires'
In-Reply-To: <5501.1525197621@sss.pgh.pa.us>
References: <CACA6kxgndDDZdzaCrMRyxO4GqjMHC1v_UxYWWU=7MPvSD25M3g@mail.gmail.com> <5501.1525197621@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox