Re: Exporting just schema/metadata (w/o data) in Postgres

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: Exporting just schema/metadata (w/o data) in Postgres
Дата
Msg-id 433D6335.8000709@commandprompt.com
обсуждение исходный текст
Ответ на Exporting just schema/metadata (w/o data) in Postgres  (Gandalf Me <gandalf.me@gmail.com>)
Ответы Re: Exporting just schema/metadata (w/o data) in Postgres  (Gandalf Me <gandalf.me@gmail.com>)
Список pgsql-general
Gandalf Me wrote:
> I was just wondering if we can export just the schema/metadata in
> Postgres (i.e. just the table and column information, without the data).
> Is there an easy way to do this in Postgres?

pg_dump --help is your friend.

You are looking for the -s flag.

Sincerely,

Joshua D. Drake


>
> Thanks in advance.
>


--
Your PostgreSQL solutions company - Command Prompt, Inc. 1.800.492.2240
PostgreSQL Replication, Consulting, Custom Programming, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/

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

Предыдущее
От: Gandalf Me
Дата:
Сообщение: Exporting just schema/metadata (w/o data) in Postgres
Следующее
От: Sergei Dubov
Дата:
Сообщение: Many-To-Many Bridge Table Index