Re: Restoring to a different tablespace

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Restoring to a different tablespace
Дата
Msg-id 21233.1136060871@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Restoring to a different tablespace  ("Joeseph Blowseph" <joseph_blowseph@hotmail.com>)
Список pgsql-novice
"Joeseph Blowseph" <joseph_blowseph@hotmail.com> writes:
> However, if I run a restore, connecting as the new user,  the tables are
> owned by the user as expected, but they are going to the default tablespace
> and blowing my C: filesystem.

If that's a pg_dump dump, it very likely includes commands to specify
which tablespace the tables should go into.  You'll need to modify the
dump file to override that.

It might work to create a new database with the desired tablespace as
its default, and restore into that database.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: PG_Dump Users and Groups
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Limit to mail size?