Re: BUG #7842: pg_dump scripts view to table

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Maciej Łopuszański <lopuszanski(at)oleofarm(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #7842: pg_dump scripts view to table
Date: 2013-02-01 15:06:58
Message-ID: 14030.1359731218@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

=?UTF-8?B?TWFjaWVqIMWBb3B1c3phxYRza2k=?= <lopuszanski(at)oleofarm(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message morgan.huot 2013-02-01 15:49:22 BUG #7845: Error (0x00002747/10055) and Srv Error id: 2019
Previous Message Dave Page 2013-02-01 14:53:55 Re: BUG #7843: Incorrect using icacls