How to determine the table a query or a views columns come from?

Поиск
Список
Период
Сортировка
От Frank Church
Тема How to determine the table a query or a views columns come from?
Дата
Msg-id 1141428113.4408cf91ae29b@webmail.adontendev.net
обсуждение исходный текст
Ответы Re: How to determine the table a query or a views columns come from?
Список pgsql-general
Is there way to determine the table a query or a view's columns come from?

I am looking for something like that in postgresql. If it doesn't exist is there
some generalized SQL that can parse the query or view's definition and retrieve
the list.

something like

column name | actual column name | source table | actual source table

column name is either the original name or an alias for it, and so is source
table.


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

Предыдущее
От: SunWuKung
Дата:
Сообщение: installing xml2 for pg 8.1 on winxp
Следующее
От: Tom Lane
Дата:
Сообщение: Re: How to determine the table a query or a views columns come from?