Re: Simpler dump?

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Simpler dump?
Дата
Msg-id
27447.1197265699@sss.pgh.pa.us
Ответ на
Simpler dump? (Ted Byers)
Список
Дерево обсуждения
sequence "Alain Roger" <raf.news@gmail.com>
Re: sequence Tom Lane <tgl@sss.pgh.pa.us>
Re: sequence "Alain Roger" <raf.news@gmail.com>
Re: sequence "Scott Marlowe" <scott.marlowe@gmail.com>
Re: sequence Michael Schmidt <MichaelMSchmidt@msn.com>
Simpler dump? Ted Byers <r.ted.byers@rogers.com>
Re: Simpler dump? "Uwe C. Schroeder" <uwe@oss4u.com>
Re: Simpler dump? Ted Byers <r.ted.byers@rogers.com>
Re: Simpler dump? Tino Wildenhain <tino@wildenhain.de>
Re: Simpler dump? Richard Huxton <dev@archonet.com>
Re: Simpler dump? Ted Byers <r.ted.byers@rogers.com>
Re: Simpler dump? Richard Huxton <dev@archonet.com>
Re: Simpler dump? Ted Byers <r.ted.byers@rogers.com>
Re: Simpler dump? "Douglas McNaught" <doug@mcnaught.org>
Re: Simpler dump? Ted Byers <r.ted.byers@rogers.com>
Re: Simpler dump? Raymond O'Donnell <rod@iol.ie>
Re: Simpler dump? Ted Byers <r.ted.byers@rogers.com>
Re: Simpler dump? Tom Lane <tgl@sss.pgh.pa.us>
Re: Simpler dump? Richard Huxton <dev@archonet.com>
Re: Simpler dump? "Douglas McNaught" <doug@mcnaught.org>
Re: Simpler dump? "Obe, Regina" <robe.dnd@cityofboston.gov>
Re: Simpler dump? Tom Lane <tgl@sss.pgh.pa.us>
Re: Simpler dump? Ted Byers <r.ted.byers@rogers.com>
Re: Simpler dump? Tom Lane <tgl@sss.pgh.pa.us>
Re: Simpler dump? Ted Byers <r.ted.byers@rogers.com>
Re: Simpler dump? Tino Wildenhain <tino@wildenhain.de>
Re: Simpler dump? "Douglas McNaught" <doug@mcnaught.org>
Re: Simpler dump? Tino Wildenhain <tino@wildenhain.de>
Ted Byers  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
FAQ