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

Поиск
Список
Период
Сортировка
От Achilleus Mantzios
Тема Re: how to get the source table & field name of a view field
Дата
Msg-id Pine.LNX.4.44.0211071625140.7264-100000@matrix.gatewaynet.com
обсуждение исходный текст
Ответ на how to get the source table & field name of a view field  ("Prime Ho" <ho@optimasoft.com.tw>)
Список pgsql-sql
On Thu, 7 Nov 2002, Prime Ho wrote:

> Hi,
>
> 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?

SELECT definition from pg_views where viewname='<your view name>';

>
> Regards,
> Ho
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>

==================================================================
Achilleus Mantzios
S/W Engineer
IT dept
Dynacom Tankers Mngmt
Nikis 4, Glyfada
Athens 16610
Greece
tel:    +30-10-8981112
fax:    +30-10-8981877
email:  achill@matrix.gatewaynet.com       mantzios@softlab.ece.ntua.gr



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

Предыдущее
От: Huub
Дата:
Сообщение: Re: primary keys
Следующее
От: Tom Lane
Дата:
Сообщение: Re: cast lo to oid