Re: psql option for writing schema

Поиск
Список
Период
Сортировка
От reina@nsi.edu (Tony Reina)
Тема Re: psql option for writing schema
Дата
Msg-id f40d3195.0112031713.5eeb0b1e@posting.google.com
обсуждение исходный текст
Ответ на psql option for writing schema  (reina@nsi.edu (Tony Reina))
Список pgsql-admin
missive@frontiernet.net (Lee Harr) wrote in message news:<9ubpl9$196u$1@news.tht.net>...
> On 30 Nov 2001 10:52:26 -0800, Tony Reina <reina@nsi.edu> wrote:
> > I seem to remember a psql option that dumped out the table schema. I
> > can't seem to find it in the man for psql. Could someone point out the
> > option to me?
> >
>
> In psql \? is your friend.
>
> Probably what you want is \d tableName

No. I know that one.

I had thought it was a psql option, but what I wanted was actually a
pg_dump option called '--schema-only'.

pg_dump --schema-only db_name

Thanks for the help anyway.

-Tony

В списке pgsql-admin по дате отправления:

Предыдущее
От: Jeremy Buchmann
Дата:
Сообщение: Re: problems with postgresql speed
Следующее
От: Manuel Trujillo
Дата:
Сообщение: compression -Fx "problem"