Re: newbie question... how do I get table structure?

Поиск
Список
Период
Сортировка
От Aaron Bratcher
Тема Re: newbie question... how do I get table structure?
Дата
Msg-id 346ED056-58AE-11D8-9BF4-000A959E9B12@abdatatools.com
обсуждение исходный текст
Ответ на Re: newbie question... how do I get table structure?  (Harald Fuchs <hf118@protecting.net>)
Ответы 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>)
Список 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 по дате отправления:

Предыдущее
От: Mark Gibson
Дата:
Сообщение: Casting 'record' to a composite type.
Следующее
От: Mark Gibson
Дата:
Сообщение: Re: newbie question... how do I get table structure?