Re: Object description at Client Window - Mailing list pgsql-sql

From Richard Huxton
Subject Re: Object description at Client Window
Date
Msg-id 200310171024.17494.dev@archonet.com
Whole thread Raw
In response to Re: Object description at Client Window  ("Kumar" <sgnerd@yahoo.com.sg>)
List pgsql-sql
On Friday 17 October 2003 09:44, Kumar wrote:
> Hi ,
>
> Jordan, thanks for ur reply. But I am not asking that.
>
> I want to get all the column names of any table at the PgAdmin3 SQL Window.
> To make it more clear, actually i wanted to send the table name as the
> input parameter for a function and expecting the column names, data types,
> etc as the output.
>
> Is there any command or any system table from that I could query the column
> names of a table (other than \d table name at the command prompt).

Try what the man said. Start psql with -E and issue \d mytable and it will 
show you the SQL it uses to produce the table's details.

--  Richard Huxton Archonet Ltd


pgsql-sql by date:

Previous
From: "Kumar"
Date:
Subject: Re: Object description at Client Window
Next
From: Ewald Geschwinde
Date:
Subject: Re: [postgres] IPv6-Datentyp(en) in PostgreSQL?