Version upgrade with tablespace

Поиск
Список
Период
Сортировка
Искать

Version upgrade with tablespace

От:
Bill Todd <pg@dbginc.com>
Дата:
I am new PostgreSQL and am about to attempt to upgrade from 8.3 to  
8.4.1. I believe I understand the procedure except for my tablespace. My 
database is in a tablespace named app. When I restore the database dump 
under 8.4.1 I assume that the tablespace will not be created 
automatically. Am  I correct that after installing 8.4.1 I should create 
a tablespace with the same name but a different directory then restore 
the database dump and the database will be placed in the app tablespace?

Bill

Re: Version upgrade with tablespace

От:
Bill Todd <pg@dbginc.com>
Дата:
Ignore that. I now see that I must edit the dump file to change the 
directory for the tablespace before running the restore.

Bill

Bill Todd wrote:
> I am new PostgreSQL and am about to attempt to upgrade from 8.3 to  
> 8.4.1. I believe I understand the procedure except for my tablespace. 
> My database is in a tablespace named app. When I restore the database 
> dump under 8.4.1 I assume that the tablespace will not be created 
> automatically. Am  I correct that after installing 8.4.1 I should 
> create a tablespace with the same name but a different directory then 
> restore the database dump and the database will be placed in the app 
> tablespace?
>
> Bill
>

FAQ