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

From Harald Fuchs
Subject Re: newbie question... how do I get table structure?
Date
Msg-id pu1xp8tkr6.fsf@srv.protecting.net
Whole thread Raw
In response to newbie question... how do I get table structure?  (Aaron Bratcher <aaronbratcher@abdatatools.com>)
Responses Re: newbie question... how do I get table structure?  (Aaron Bratcher <aaronbratcher@abdatatools.com>)
List pgsql-general
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: Shridhar Daithankar
Date:
Subject: Re: Starting the Server ?
Next
From: Mark Gibson
Date:
Subject: Casting 'record' to a composite type.