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

From Christoph Haller
Subject Re: how to get the source table & field name of a view field
Date
Msg-id 3DCA737D.BB63C3C3@rodos.fzk.de
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
> 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 by date:

Previous
From: "Rachel.Vaudron"
Date:
Subject: Re: primary keys
Next
From: Bruno Wolff III
Date:
Subject: Re: primary keys