Re: Upgrading postgresql-8.0 to 8.1



David Gaudine wrote:
I use postgresql 8.0, but since this is "local/obsolete" in Etch I want to
upgrade to 8.1. I've already done this on a backup system, but I got a
few warnings so I want to make sure I'm doing it right before I do it on
my main system.

Here's what I did that seemed to work but gave some of warnings;
- Install postgresql-8.1 and packages that it depends on
- Stop the 8.1 server (I don't remember if I stopped the 8.0 server)
- pg_dropcluster 8.1 main
- pg_upgradecluster 8.1 main
- start the 8.1 server

Is there a better way?

David




I'm far from guru but one method that might be 'safe' would be to use pgdump to just dump the database, stop 8.0 and load everything into 8.1.

If anything goes wrong, you have all the data in a file so you can at least fix it. I would expect this to be issues with creation of tables/databases at most and not something you have to fix on every line.



--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Upgrading postgresql-8.0 to 8.1 (correction)
    ... upgrade to 8.1. ... I've already done this on a backup system, ... Here's what I did that seemed to work but gave some of warnings; ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Upgrading postgresql-8.0 to 8.1
    ... upgrade to 8.1. ... I've already done this on a backup system, ... Here's what I did that seemed to work but gave some of warnings; ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • [PATCH] ppc32/64: Fix warning in pmac ide
    ... This is a gcc error, but let's fix it anyway, it isn't a perf critical ... codepath and warnings are ugly. ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Transfer texi files into info files makes warnings.
    ... I dont know if these warnings are important to us. ... Hope someone can fix that. ... To unsubscribe, ...
    (freebsd-current)
  • [git pull for 2.6.22-rc4 - resend] kbuild: fix sh64 section mismatch problems
    ... Please apply following 2 liners fix. ... It will fix a lot of false section mismatch warnings on sh64 and ... Subject: kbuild: fix sh64 section mismatch problems ... Silence the warnings by allowing references from .init.text to .cranges. ...
    (Linux-Kernel)