Re: pg_dump ignore tablespaces

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_dump ignore tablespaces
Дата
Msg-id 806.1184468193@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_dump ignore tablespaces  ("Gavin M. Roy" <gavinmroy@gmail.com>)
Список pgsql-hackers
"Gavin M. Roy" <gavinmroy@gmail.com> writes:
> Recently I ran into an issue where restoring from pg_dump from one machine
> to another with non-matching tablespaces.  The primary issue is that index
> creation will fail if the tablespace does not exist from the dump.  I was
> thinking to best solution for this would be a pg_dump option such as
> --ignore-tablespaces which would not dump any tablespace related data.

We have --no-owner, so --no-tablespace doesn't seem out of line.

It's a bit late for 8.3 but no objection to adding such a feature
for 8.4.
        regards, tom lane


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

Предыдущее
От: "Gavin M. Roy"
Дата:
Сообщение: pg_dump ignore tablespaces
Следующее
От: "Pavel Stehule"
Дата:
Сообщение: Re: plpgsql and qualified variable names