dbTalk Databases Forums  

upgrade on Suse 9.3 from postres 8.0.8 to 8.1/8.2

comp.databases.postgresql comp.databases.postgresql


Discuss upgrade on Suse 9.3 from postres 8.0.8 to 8.1/8.2 in the comp.databases.postgresql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
M. Strobel
 
Posts: n/a

Default upgrade on Suse 9.3 from postres 8.0.8 to 8.1/8.2 - 01-17-2007 , 07:13 AM






Hi,

I would like to upgrade a Suse 9.3 from postgres 8.0 to 8.1
(preferably), because I develop on my local machine which has postgres
8.1 installed (Suse 10.2), and then upload all to my Vserver.

I already ran into problems with my newer client and the older server
(backslash commands not running).

Do you have experience in doing this upgrade? Can it be done with all
the dependend clients in PHP and others?

Thanks,

Max Strobel

Reply With Quote
  #2  
Old   
Laurenz Albe
 
Posts: n/a

Default Re: upgrade on Suse 9.3 from postres 8.0.8 to 8.1/8.2 - 01-17-2007 , 07:59 AM






M. Strobel <str (AT) dummy (DOT) comm> wrote:
Quote:
I would like to upgrade a Suse 9.3 from postgres 8.0 to 8.1
(preferably), because I develop on my local machine which has postgres
8.1 installed (Suse 10.2), and then upload all to my Vserver.

I already ran into problems with my newer client and the older server
(backslash commands not running).

Do you have experience in doing this upgrade? Can it be done with all
the dependend clients in PHP and others?
Did you install PostgreSQL and the dependent software (PHP) with RPMs?
Then you should probably ask the packager of the RPMs how to upgrade
the software.

If you build from source, you can follow the instructions in the online
manuals.

WARNING: You cannot upgrade from 8.0 to 8.1 just by replacing the software.
You will have to export the 8.0 database cluster with pg_dumpall and
restore the backup into a newly created 8.1 cluster.
An 8.1 server will refuse to start with an 8.0 database cluster.
This procedure is also described in the manuals.

It is probably best to install the new software in a location different from
the old one so that you can have both versions at the same time and have
a simple fallback scenario when Things Go Wrong.

Yours,
Laurenz Albe


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.