From: Tom Lane <tgl@sss.pgh.pa.us>
To: Maciej Łopuszański <lopuszanski@oleofarm.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7842: pg_dump scripts view to table
Date: Fri, 01 Feb 2013 10:06:58 -0500
Message-ID: <14030.1359731218@sss.pgh.pa.us> (raw)
In-Reply-To: <510BA695.3060408@oleofarm.com>
References: <E1U0veF-0007cU-7z@wrigleys.postgresql.org>
<18122.1359660455@sss.pgh.pa.us>
<510BA695.3060408@oleofarm.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
=?UTF-8?B?TWFjaWVqIMWBb3B1c3phxYRza2k=?= <lopuszanski@oleofarm.com> 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
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, lopuszanski@oleofarm.com
Subject: Re: BUG #7842: pg_dump scripts view to table
In-Reply-To: <14030.1359731218@sss.pgh.pa.us>
References: <E1U0veF-0007cU-7z@wrigleys.postgresql.org> <18122.1359660455@sss.pgh.pa.us> <510BA695.3060408@oleofarm.com> <14030.1359731218@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