How to Examine a view

Поиск
Список
Период
Сортировка
От info@axier.se
Тема How to Examine a view
Дата
Msg-id 1159199073.846537.84750@i42g2000cwa.googlegroups.com
обсуждение исходный текст
Ответы Re: How to Examine a view  (Ray Stell <stellr@cns.vt.edu>)
Список pgsql-general
I have setup a view consisting of two tables and some compound fields.
Now I would like from the client perspective see what those compound
fields actually are originally.

Let's (for simplicity I have inlcuded only one table) say we have:
CREATE OR REPLACE VIEW clientview AS
 SELECT c.clientid, (c.orderer_name::text || ' :'::text) ||
substr(c.occasion::text, 1, 10) AS "Order occasion", c.customerid
   FROM client c

Is it possible to query postgres to tell me what field names and field
types "Order occasion" really consists of?


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

Предыдущее
От: Filip Rembiałkowski
Дата:
Сообщение: dbi-link questions + patch
Следующее
От: "Thomas Peter"
Дата:
Сообщение: strange sql issue