Re: newbie question... how do I get table structure? - Mailing list pgsql-general

From Aaron Bratcher
Subject Re: newbie question... how do I get table structure?
Date
Msg-id 346ED056-58AE-11D8-9BF4-000A959E9B12@abdatatools.com
Whole thread Raw
In response to Re: newbie question... how do I get table structure?  (Harald Fuchs <hf118@protecting.net>)
Responses Re: newbie question... how do I get table structure?  (Mark Gibson <gibsonm@cromwell.co.uk>)
Re: newbie question... how do I get table structure?  ("Henrik Steffen" <steffen@city-map.de>)
Re: newbie question... how do I get table structure?  (Franco Bruno Borghesi <franco@akyasociados.com.ar>)
List pgsql-general
Is there no way I can do it with a standard select command in a
different client? I don't need the indexes, just the column
names/types.
--
Aaron Bratcher
ab DataTools
http://www.abDataTools.com


On Feb 6, 2004, at 8:12 AM, Harald Fuchs wrote:

> In article <4022FB80.6090205@commandprompt.com>,
> "Joshua D. Drake" <jd@commandprompt.com> writes:
>
>> Aaron Bratcher wrote:
>>> What command can I use to get the structure of a given table?
>>>
>
>
>> If psql is client
>
>> \d tablename
>
> Without psql you can use
>
>   pg_dump -s DBNAME -t TBLNAME
>
> from your shell prompt.


pgsql-general by date:

Previous
From: Mark Gibson
Date:
Subject: Casting 'record' to a composite type.
Next
From: Mark Gibson
Date:
Subject: Re: newbie question... how do I get table structure?