Skip site navigation (1) Skip section navigation (2)

select columns and its data types

From: Michael Seele <mseele(at)guh-software(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: select columns and its data types
Date: 2004-08-23 11:21:36
Message-ID: (view raw or whole thread)
Lists: pgsql-general
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?

    pg_class.relname, pg_attribute.attname, pg_attribute.atttypid
    pg_catalog.pg_attribute, pg_catalog.pg_class
    pg_attribute.attrelid = pg_class.relfilenode/


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.         

pgsql-general by date

Next:From: Csaba NagyDate: 2004-08-23 11:31:28
Subject: Re: view triggers/procedures
Previous:From: Ulrich WisserDate: 2004-08-23 10:58:11
Subject: Re: pg_dump in stand alone backend

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group