Get a list of columns for a table

From: "Kevin Crenshaw" <kcrenshaw(at)viscient(dot)com>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: Get a list of columns for a table
Date: 2005-09-07 22:19:35
Message-ID: 20050907222005.400BED82FA@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

How do I retrieve a list of columns for a table from an outside application?
I don't want to retrieve any rows from the table just the column related
data like what is retrieved using '\d [table name]' in psql. Can this be
done using a simple Select statement?

Thanks for your help!

Kevin

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Kevin Crenshaw 2005-09-07 22:24:19 MVCC handling of updates
Previous Message Renaldo Hylton 2005-09-07 19:13:27 Transfer to MSSQL