Re: upgrade from postgres 7.3.2 - Mailing list pgsql-novice

From Vishal Kashyap @ [SaiHertz]
Subject Re: upgrade from postgres 7.3.2
Date
Msg-id 77b69d2104111705481e5dbc52@mail.gmail.com
Whole thread Raw
In response to upgrade from postgres 7.3.2  (sarlav kumar <sarlavk@yahoo.com>)
Responses Re: upgrade from postgres 7.3.2  (sarlav kumar <sarlavk@yahoo.com>)
subscribe for a digest fails  (sarlav kumar <sarlavk@yahoo.com>)
automated mail from Arinbe!??!  (sarlav kumar <sarlavk@yahoo.com>)
Re: upgrade from postgres 7.3.2  (Gaetano Mendola <mendola@bigfoot.com>)
List pgsql-novice
Sarlav ,


>
> I am new to postgres.

Welcome to the  most powerfull Database system.

> I am looking to upgrade to 7.4.x. Is the upgrade necessary?
>
Your upgrade to 7.4.x would be worth in many terms as 7.4. has many
performance enhancements also if your app uses subquery then 7.4 is advisable.


>If so, which is
> the most stable version to upgrade to?

7.4.5

>
>
>
> We have more than 300 tables with lot of data to be backed up and restored.
> It would be nice if someone could give the steps to upgrade from 7.3.2 to
> one of the latest stable version.

1. Backup everything make a file system bacup of the PostgreSQL
database (plz make sutre to shut down PostgreSQL before doing this)
2. Backup data.
3. Backup Schema
4. Install 7.4.5 give database path diffrent
5. Initdb the database (This is required as you are upgrading to a
major version)
6. Restore schema in new system
7. Restore database
8. Run PostgreSQL make sure you append the $PGDATA

Now you are on PostgreSQL 7.4.5
If something goes wrong.
Reinstall PostgreSQL 7.3.2
Restore your filesyatem backup.





Hope this helps



--
With Best Regards,
Vishal Kashyap.
Did you know SaiPACS is one and only PACS
Management tool.
http://saihertz.com,
http://vishalkashyap.tk

pgsql-novice by date:

Previous
From: "Marcin Gil"
Date:
Subject: Re: [OT] apache auth with postgres?
Next
From: Stephan Szabo
Date:
Subject: Re: Syntax error in DROP CONSTRAINT