Re: extension dependencies with 'requires' - Mailing list pgsql-general

From Tom Lane
Subject Re: extension dependencies with 'requires'
Date
Msg-id 5501.1525197621@sss.pgh.pa.us
Whole thread Raw
In response to extension dependencies with 'requires'  (Eric Hanson <eric@aquameta.com>)
Responses Re: extension dependencies with 'requires'
List pgsql-general
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


pgsql-general by date:

Previous
From: Eric Hanson
Date:
Subject: extension dependencies with 'requires'
Next
From: Eric Hanson
Date:
Subject: Re: extension dependencies with 'requires'