Re: Simpler dump?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Simpler dump?
Дата
Msg-id 27447.1197265699@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Simpler dump?  (Ted Byers <r.ted.byers@rogers.com>)
Ответы Re: Simpler dump?  (Ted Byers <r.ted.byers@rogers.com>)
Список pgsql-general
Ted Byers <r.ted.byers@rogers.com> writes:
> Is there a way to tell pg_dump to just dump the SQL
> statements required to create the tables, sequences,
> indeces, keys, &c.?

pg_dump -s ?

> I DON'T need to restore or
> recreate things like users, or most other kinds of DB
> objects.  Just routine DDL statements.

pg_dump doesn't try to recreate users, and to most people "DDL" would
include the creation commands for any type of DB object whatsoever.
Your demarcation between stuff you want and stuff you don't seems far
too vaguely stated.

            regards, tom lane

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

Предыдущее
От: "Uwe C. Schroeder"
Дата:
Сообщение: Re: Simpler dump?
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: Pg_catalog reference