Thread: Version upgrade with tablespace

Version upgrade with tablespace

From
Bill Todd
Date:
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

From
Bill Todd
Date:
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
>