Обсуждение: postgres7.2.1 upgrading

Поиск
Список
Период
Сортировка

postgres7.2.1 upgrading

От
Jie Liang
Дата:
http://www.ca.postgresql.org/sitess.html
says that:
The current version of PostgreSQL is 7.2.1. 
NOTE: An initdb will only be required if upgrading from pre 7.2
So, if my current version is 7.2.0 and I want upgrade it to 
7.2.1, what file should I download in order to get 'intidb'? 
if only the 'initdb' is required,
then what is the upgrade procedure?
I don't need to install whole 7.2.1 at all, do I.
my guess is that:
1.shutdown the db;
2.copy initdb of 7.2.1 to the location of initdb of 7.2.0;
3.re_intialize db by running initdb;
4.re_start postmaster.

However, no documentation says that.
Anybody can tell me?


Thanks!



Jie Liang





Re: postgres7.2.1 upgrading

От
"Christopher Kings-Lynne"
Дата:
> http://www.ca.postgresql.org/sitess.html
> says that:
> The current version of PostgreSQL is 7.2.1.
> NOTE: An initdb will only be required if upgrading from pre 7.2
>
> So, if my current version is 7.2.0 and I want upgrade it to
> 7.2.1, what file should I download in order to get 'intidb'?
> if only the 'initdb' is required,
> then what is the upgrade procedure?
> I don't need to install whole 7.2.1 at all, do I.
> my guess is that:
> 1.shutdown the db;
> 2.copy initdb of 7.2.1 to the location of initdb of 7.2.0;
> 3.re_intialize db by running initdb;
> 4.re_start postmaster.

You do not need to do anything special.  Just install the new version of
postgres over your existing version (making a backup dump of your data
first, of course).  7.2.0 is the same as 7.2, it's not 'pre 7.2'.

Chris