Re: DDL from psql console?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: DDL from psql console?
Дата
Msg-id 19585.1114444140@sss.pgh.pa.us
обсуждение исходный текст
Ответ на DDL from psql console?  (John Browne <jkbrowne@gmail.com>)
Ответы Re: DDL from psql console?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-general
John Browne <jkbrowne@gmail.com> writes:
> I was curious if there was a way to get the DDL for a particular table
> from the psql client console?

No.  Try
    pg_dump -s -t tablename dbname

            regards, tom lane

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

Предыдущее
От: Steve Atkins
Дата:
Сообщение: Re: Hosting Service Recommendations
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: DDL from psql console?