| От | John R Pierce |
|---|---|
| Тема | Re: pg_dump & table space |
| Дата | |
| Msg-id | 4A2380DF.9000200@hogranch.com обсуждение исходный текст |
| Ответ на | Re: pg_dump & table space (John R Pierce <pierce@hogranch.com>) |
| Список | pgsql-general |
John R Pierce wrote: > Luca Ferrari wrote: >> Hi, >> is there a way to dump an entire database which has a specific table >> space without having in the sql file any reference to the tablespace? >> This can be useful when moving the database from one machine to >> another (that does not use the tablespace). Any way to achieve that >> with pg_dump? >> > > dump in ascii format, edit the resultant SQL file and remove any > references to the tablespace. this could probably be done with a > perl or sed script if the file is too large for a conventional text > editor. oh, dump the schema only first, edit that, then dump the data only to a seperate dumpfile, thats probably simplest.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера