pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thom Brown <thom@linux.com>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re: pg_dump dependency loop with extension containing its own schema
Date: Sat, 11 Aug 2012 20:06:23 -0400
Message-ID: <18871.1344729983@sss.pgh.pa.us> (raw)
In-Reply-To: <CAA-aLv5tDs1y2cCc2+qh5encuJWA=rLq-crF3B=WWptTA=RB6Q@mail.gmail.com>
References: <CAA-aLv5tDs1y2cCc2+qh5encuJWA=rLq-crF3B=WWptTA=RB6Q@mail.gmail.com>

Thom Brown <thom@linux.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.

			regards, tom lane




view thread (6+ messages)  latest in thread

Message-ID: <18871.1344729983@sss.pgh.pa.us>
Permalink:  ../18871.1344729983@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18871.1344729983@sss.pgh.pa.us

 · 

reply

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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, thom@linux.com
  Subject: Re: pg_dump dependency loop with extension containing its own schema
  In-Reply-To: <18871.1344729983@sss.pgh.pa.us>
  References: <CAA-aLv5tDs1y2cCc2+qh5encuJWA=rLq-crF3B=WWptTA=RB6Q@mail.gmail.com> <18871.1344729983@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