Re: how to get the source table & field name of a view field - Mailing list pgsql-sql

From Achilleus Mantzios
Subject Re: how to get the source table & field name of a view field
Date
Msg-id Pine.LNX.4.44.0211071625140.7264-100000@matrix.gatewaynet.com
Whole thread Raw
In response to how to get the source table & field name of a view field  ("Prime Ho" <ho@optimasoft.com.tw>)
List 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 by date:

Previous
From: Huub
Date:
Subject: Re: primary keys
Next
From: Tom Lane
Date:
Subject: Re: cast lo to oid