Re: how to get the source table & field name of a view field

Поиск
Список
Период
Сортировка
От Christoph Haller
Тема Re: how to get the source table & field name of a view field
Дата
Msg-id 3DCA737D.BB63C3C3@rodos.fzk.de
обсуждение исходный текст
Ответ на how to get the source table & field name of a view field  ("Prime Ho" <ho@optimasoft.com.tw>)
Список pgsql-sql
> Could you tell me how to get view field's source table and field name?

> another word, how could I know the view field come from?

Within psql, use
\d <viewname>
to learn about the view's column names and types and the view
definition.

If you were thinking about querying system tables to get this
information,
start psql with the "-E" option to see how this \d <viewname> command
is implemented.

Regards, Christoph



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

Предыдущее
От: "Rachel.Vaudron"
Дата:
Сообщение: Re: primary keys
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: primary keys