Version upgrade with tablespace

Started by Bill Toddover 16 years ago2 messagesgeneral
Jump to latest
#1Bill 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

#2Bill Todd
pg@dbginc.com
In reply to: Bill Todd (#1)
Re: Version upgrade with tablespace

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:

Show quoted text

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