Re: BUG #7842: pg_dump scripts view to table

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #7842: pg_dump scripts view to table
Дата
Msg-id 14030.1359731218@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #7842: pg_dump scripts view to table  (Maciej Łopuszański <lopuszanski@oleofarm.com>)
Ответы Re: BUG #7842: pg_dump scripts view to table  (Maciej Łopuszański <lopuszanski@oleofarm.com>)
Список pgsql-bugs
Maciej Łopuszański <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



В списке pgsql-bugs по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: BUG #7843: Incorrect using icacls
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #7819: missing chunk number 0 for toast value 1235919 in pg_toast_35328