Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U1ICp-00028x-Bz for pgsql-bugs@arkaria.postgresql.org; Fri, 01 Feb 2013 15:07:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1U1ICo-0003az-HP for pgsql-bugs@arkaria.postgresql.org; Fri, 01 Feb 2013 15:07:06 +0000 Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U1ICn-0003ak-S4 for pgsql-bugs@postgresql.org; Fri, 01 Feb 2013 15:07:05 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U1ICk-0001sU-FY for pgsql-bugs@postgresql.org; Fri, 01 Feb 2013 15:07:05 +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 r11F6wav014031; Fri, 1 Feb 2013 10:06:58 -0500 (EST) From: Tom Lane To: =?UTF-8?B?TWFjaWVqIMWBb3B1c3phxYRza2k=?= cc: pgsql-bugs@postgresql.org Subject: Re: BUG #7842: pg_dump scripts view to table In-reply-to: <510BA695.3060408@oleofarm.com> References: <18122.1359660455@sss.pgh.pa.us> <510BA695.3060408@oleofarm.com> Comments: In-reply-to =?UTF-8?B?TWFjaWVqIMWBb3B1c3phxYRza2k=?= message dated "Fri, 01 Feb 2013 12:27:17 +0100" Date: Fri, 01 Feb 2013 10:06:58 -0500 Message-ID: <14030.1359731218@sss.pgh.pa.us> X-Pg-Spam-Score: -2.2 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org =?UTF-8?B?TWFjaWVqIMWBb3B1c3phxYRza2k=?= writes: > is there a way to find exactly what object/table/column creates this > circular dependency? Look into pg_depend for entries referencing the view or the view's rowtype. (Offhand I'd bet it's the latter.) So the refobjid would be 'viewname'::regclass or 'viewname'::regtype. > pg_dumb even in verbose mode does not warn/error of this situation. Why should it? This isn't a bug, this is merely an implementation detail. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs