Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T0LhO-0000Xn-W9 for pgsql-bugs@postgresql.org; Sun, 12 Aug 2012 00:06:31 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T0LhK-0003pk-Ew for pgsql-bugs@postgresql.org; Sun, 12 Aug 2012 00:06:30 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id q7C06NHD018872; Sat, 11 Aug 2012 20:06:23 -0400 (EDT) From: Tom Lane To: Thom Brown cc: pgsql-bugs Subject: Re: pg_dump dependency loop with extension containing its own schema In-reply-to: References: Comments: In-reply-to Thom Brown message dated "Sat, 11 Aug 2012 23:55:07 +0100" Date: Sat, 11 Aug 2012 20:06:23 -0400 Message-ID: <18871.1344729983@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201208/60 X-Sequence-Number: 33784 Thom Brown 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