Unix Technical Forum

Re: upgrading from 8.1.4 to 8.3.3

This is a discussion on Re: upgrading from 8.1.4 to 8.3.3 within the Pgsql General forums, part of the PostgreSQL category; --> Em Thursday 28 August 2008 06:53:28 Joao Ferreira gmail escreveu: > Hello all, > > I'm getting this error ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-29-2008, 09:59 AM
Jorge Godoy
 
Posts: n/a
Default Re: upgrading from 8.1.4 to 8.3.3

Em Thursday 28 August 2008 06:53:28 Joao Ferreira gmail escreveu:
> Hello all,
>
> I'm getting this error after installing pg-8.3.3 on a test system which
> had 8.1.4
>
> shell> su postgres -c "/usr/bin/postmaster -D /var/pgsql/data"
> FATAL: database files are incompatible with server
> DETAIL: The data directory was initialized by PostgreSQL version 8.1,
> which is not compatible with this version 8.3.3.
>
>
> I guess I should get a pg_dumpall before upgrading and put the data back
> after the upgrade.
>
> Is this correct ?
>
> Is there a more apropriate approach ?


The dump & restore approach for major version upgrades is the appropriate,
correct and documented way to upgrade.

Check the docs and it is there.

--
Jorge Godoy <jgodoy@gmail.com>



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEABECAAYFAki2hYIACgkQEzC+baSjBiVuCgCfVvIMAH6Kud tQiGSUNaRNwgb8
DEgAoIPHFK5y8DktfvvtaXiLlRK1IhVo
=joxM
-----END PGP SIGNATURE-----

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads for: Re: upgrading from 8.1.4 to 8.3.3

Thread Thread Starter Forum Replies Last Post
Upgrading to gcc 4 Rainer Sinsch Gentoo Linux Support 3 02-21-2008 12:35 PM
Upgrading gcc 3.3.x to 3.4.x Peter Gentoo Linux Support 4 02-21-2008 11:48 AM
Upgrading KDE 3.2.3 to 3.3.1? Unknown Gentoo Linux Support 7 02-21-2008 09:37 AM
upgrading from 10.2 to 11.0 Roelof Wobben Slackware Linux Support 25 02-20-2008 08:20 PM
Upgrading 8.1->9.0 =?UTF-8?B?RmlsaXAgTWlsZXRpxIc=?= Slackware Linux Support 5 02-18-2008 12:47 PM


All times are GMT. The time now is 10:05 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com