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

Поиск
Список
Период
Сортировка
От Harald Fuchs
Тема Re: newbie question... how do I get table structure?
Дата
Msg-id pu1xp8tkr6.fsf@srv.protecting.net
обсуждение исходный текст
Ответ на newbie question... how do I get table structure?  (Aaron Bratcher <aaronbratcher@abdatatools.com>)
Ответы Re: newbie question... how do I get table structure?  (Aaron Bratcher <aaronbratcher@abdatatools.com>)
Список 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 по дате отправления:

Предыдущее
От: Shridhar Daithankar
Дата:
Сообщение: Re: Starting the Server ?
Следующее
От: Mark Gibson
Дата:
Сообщение: Casting 'record' to a composite type.