Re: pg_dump & table space

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: pg_dump & table space
Дата
Msg-id 4A237DD7.3020502@hogranch.com
обсуждение исходный текст
Ответ на pg_dump & table space  (Luca Ferrari <fluca1978@infinito.it>)
Ответы Re: pg_dump & table space  (John R Pierce <pierce@hogranch.com>)
Список pgsql-general
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.





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

Предыдущее
От: Luca Ferrari
Дата:
Сообщение: pg_dump & table space
Следующее
От: Scara Maccai
Дата:
Сообщение: ZFS & disk cache