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 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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----- |
| Thread Tools | |
| Display Modes | |
|
|
| ||||
| 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 |