dbTalk Databases Forums  

Upgrading from v7.1.3 to v7.4

comp.databases.postgresql.novice comp.databases.postgresql.novice


Discuss Upgrading from v7.1.3 to v7.4 in the comp.databases.postgresql.novice forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Sergio L. Garza M.
 
Posts: n/a

Default Upgrading from v7.1.3 to v7.4 - 12-19-2003 , 02:20 AM






Hi,

I recently got a dedicated server at Rackspace.com that came with PostgreSQL
server version 7.1.3 installed. I am installing a script that requires
PostgreSQL v 7.2 or greater so I decided to upgrade to the latest version
(7.4). Unfortunately, Rackspace does not support PostgreSQL databases and I
could not find anyone to do this upgrade for me.

I am kind of new but feel confident I can upgrade/install to the new version
if someone can help me with a few questions:

Current configuration:

- My server is running Redhat Linux 2.1AS

- I have not created any databases yet.

- By default, there is a template0 and template1 databases which I guess are
required by PostgreSQL.

- There is a postgres user already created.

- PostgreSQL files are currently installed in the following folders:

/var/lib/pgsql/
/usr/share/pgsql/
/usr/local/webmin-1.090/postgresql/
/usr/bin/ (for postgres and postgresql-dump files)
/usr/include/pgsql/
/usr/lib/pgsql/
/etc/webmin/postgresql/


Questions:

I was reading the installation manual at postgresql.org, section 14.4 (If
you are upgrading) and saw I had to backup my databases located in
/usr/local/pgsql/data/ and also suggested to move the old installation out
of the way that is supposed to be in /usr/local/pgsql/

Obviously, if I install the version 7.4, it will be installed in this folder
so I have nothing to move.

1) Do I have to uninstall the current version 7.1.3 to install this new
version 7.4? If yes, how do I uninstall the current version?

2) If I only need to stop the current PostgreSQL server and install and run
the new one, will there be any conflict issues later on? If yes, what can I
do to prevent this?

3) Is there anyone experienced enough that could help me with all this in
case I need it?


I would appreciate any help on this.

Regards,

Sergio L. Garza M.



---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org)


Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: Upgrading from v7.1.3 to v7.4 - 12-19-2003 , 09:26 AM






"Sergio L. Garza M." <sergio_gza (AT) checo (DOT) tv> writes:
Quote:
I was reading the installation manual at postgresql.org, section 14.4 (If
you are upgrading) and saw I had to backup my databases located in
/usr/local/pgsql/data/ and also suggested to move the old installation out
of the way that is supposed to be in /usr/local/pgsql/
Since you have no existing data, you can ignore the advice about backing
up.

Quote:
1) Do I have to uninstall the current version 7.1.3 to install this new
version 7.4? If yes, how do I uninstall the current version?
If it was installed from RPMs (the likely case on a Red Hat system) then
"rpm -e" is what you want. You might also consider installing the new
version from RPM rather than building your own. I'm not sure if there
are prebuilt binary RPMs of 7.4 available for RHAS 2.1, but if not you
could grab the source RPM (SRPM) and build it yourself.

Quote:
2) If I only need to stop the current PostgreSQL server and install and run
the new one, will there be any conflict issues later on?
No. If you were wanting to run both versions in parallel then some care
would be needed, but you don't seem to need that.

Quote:
3) Is there anyone experienced enough that could help me with all this in
case I need it?
pgsql-admin would probably be a better source of advice than
pgsql-novice.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.