SQL request to retrieve the type of columns

Поиск
Список
Период
Сортировка
От Jean-Max Reymond
Тема SQL request to retrieve the type of columns
Дата
Msg-id 3C6938B3.3060208@bull.net
обсуждение исходный текст
Ответы Re: SQL request to retrieve the type of columns  ("Andrew G. Hammond" <drew@xyzzy.dhs.org>)
Список pgsql-sql
I am looking for a SQL request (must be executed in a ECPG program) to
retrieve the type of each column in a Postgres table.

For example,
\d wapi                Table "wapi"Attribute  |         Type          | Modifier 
------------+-----------------------+----------wapinom    | character(8)          | wapicall   | character varying(12)
|wapitrans  | character varying(4)  | wapistruct | character varying(50) | 
 

It will be great to have the same result with a "select request".
regards,


-- 
Jean-Max Reymond 
============================================================================Email  : Jean-Max.Reymond@bull.netAddress:
BULLSLDV (Saint Laurent du Var)
 
============================================================================




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

Предыдущее
От: Bhuvan A
Дата:
Сообщение: Re: Sequencing Problem in Transaction..
Следующее
От: Vivek Khera
Дата:
Сообщение: Re: SQL request to retrieve the type of columns