Re: Extracting data from the view to retrieve the foreign key is not declared

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: Extracting data from the view to retrieve the foreign key is not declared
Дата
Msg-id A737B7A37273E048B164557ADEF4A58B17CE391E@ntex2010i.host.magwien.gv.at
обсуждение исходный текст
Ответ на Extracting data from the view to retrieve the foreign key is not declared  (nill <nillx87@hotmail.com>)
Ответы Re: Extracting data from the view to retrieve the foreign key is not declared  (nill <nillx87@hotmail.com>)
Список pgsql-general
nill wrote:
> Given a view, I need to extract tables, the join columns (ON) . I need to do
> this analysis because of the view (agreements with the join condition and
> where) I can say that there is a foreign key

Do I understand right that you want to find out the tables involved in
a view definition?

Maybe querying pg_depend can help, since there are dependency relationships
between the view and its query rewrite rule, but also between the rule and
the columns of the underlying tables.

Yours,
Laurenz Albe

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

Предыдущее
От: Venkata Balaji Nagothi
Дата:
Сообщение: Re: Increase in max_connections
Следующее
От: Torsten Förtsch
Дата:
Сообщение: How to make PG use work_mem?