Re: [GENERAL] editing file after pg_dump

Поиск
Список
Период
Сортировка
От Kevin Heflin
Тема Re: [GENERAL] editing file after pg_dump
Дата
Msg-id Pine.LNX.4.04.9903181351370.31546-100000@mercury.shreve.net
обсуждение исходный текст
Ответ на Re: [GENERAL] editing file after pg_dump  ("Ross J. Reedstrom" <reedstrm@rice.edu>)
Список pgsql-general
On Thu, 18 Mar 1999, Ross J. Reedstrom wrote:

> you might try dumping the schema and data separately:
>
> pg_dump -a yourdb >yourdb.data
> pg_dump -s yourdb >yourdb.schema
>
> then edit the schema without touching the data, then
>
> psql newdb <yourdb.schema
> psql newdb <yourdb.data
>

Thanks for the tip.. I'll try that.


Kevin



--------------------------------------------------------------------
Kevin Heflin          | ShreveNet, Inc.      | Ph:318.222.2638 x103
VP/Mac Tech           | 333 Texas St #619    | FAX:318.221.6612
kheflin@shreve.net    | Shreveport, LA 71101 | http://www.shreve.net
--------------------------------------------------------------------


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

Предыдущее
От: "Ross J. Reedstrom"
Дата:
Сообщение: Re: [GENERAL] editing file after pg_dump
Следующее
От: "Jonathan A. Zdziarski"
Дата:
Сообщение: Macintosh Drivers