Re: pg_dump dependency loop with extension containing its own schema

From: Thom Brown <thom(at)linux(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: pg_dump dependency loop with extension containing its own schema
Date: 2012-08-12 07:17:32
Message-ID: CAA-aLv6xdQ=6Uu7UUOErM4fhhyOr7JeAP-TUxM3-vnb6VOgodg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 12 August 2012 01:06, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Thom Brown <thom(at)linux(dot)com> writes:
>> I'm getting a dependency loop issue with pg_dump when adding a schema
>> to an extension where the schema being added is the same as the one
>> containing the extension.
>
>> CREATE EXTENSION file_fdw;
>> ALTER EXTENSION file_fdw ADD SCHEMA public;
>
> ISTM we ought to disallow that ... either the schema is inside the
> extension, or vice versa, it's not sensible to say both.

Precisely.

--
Thom

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Heikki Linnakangas 2012-08-13 06:22:31 Re: BUG #6722: Debugger broken?
Previous Message Tom Lane 2012-08-12 00:06:23 Re: pg_dump dependency loop with extension containing its own schema