select columns and its data types - Mailing list pgsql-general

From Michael Seele
Subject select columns and its data types
Date
Msg-id 4129D340.5000401@guh-software.de
Whole thread Raw
List pgsql-general
hi,
how can i show all the columns and its data types?
i create the following sql-statement but it only gets me a reference of the data types, how can i replace the reference?

SELECT
    pg_class.relname, pg_attribute.attname, pg_attribute.atttypid
FROM
    pg_catalog.pg_attribute, pg_catalog.pg_class
WHERE
    pg_attribute.attrelid = pg_class.relfilenode


thanks!
-- 
G & H Softwareentwicklung GmbH     Tel.: +49(0)7451/53706-20
Robert-Bosch-Str. 23               Fax:  +49(0)7451/53706-90
D-72160 Horb a.N.                  http://www.guh-software.de 

pgsql-general by date:

Previous
From: "SVGK, Raju (Raju)"
Date:
Subject: Re: view triggers/procedures
Next
From: Csaba Nagy
Date:
Subject: Re: view triggers/procedures