Re: extension dependencies with 'requires'

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Eric Hanson <eric(at)aquameta(dot)com>
Cc: PostgreSQL General <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: extension dependencies with 'requires'
Date: 2018-05-01 18:00:21
Message-ID: 5501.1525197621@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Eric Hanson <eric(at)aquameta(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Eric Hanson 2018-05-01 18:06:57 Re: extension dependencies with 'requires'
Previous Message Eric Hanson 2018-05-01 17:34:41 extension dependencies with 'requires'