pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Edson <cheighlund@yahoo.com>
To: Jeff Frost <jeff@frostconsultingllc.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Upgrade/Installation problem: Version 7.4.9 to version
Date: Wed, 17 Jan 2007 12:41:55 -0800 (PST)
Message-ID: <20070117204155.41670.qmail@web34210.mail.mud.yahoo.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0701171054550.14094@discord.home.frostconsultingllc.com>

Please clear something up for me.  The database I'm trying to upgrade was/is empty; only the original installation was present, no tables.  Exactly what is it I'm supposed to be dumping?  If you mean making a copy of the original 8.1.3, that I've done before, but I'm unclear as to the meaning of what you're saying at the moment.  Please enlighten me.

Jeff Frost <jeff@frostconsultingllc.com> wrote:   Andrew,

If you're moving between major versions, a dump/restore is necessary. The 
proper procedure is:

1) pg_dump the old database by using the new version of pg_dump (8.1.x) 
against the old db server (7.4.9 in your case)
2) stop the old database server (and possibly move/rename the old data dir)
3) initdb the new database server
4) edit postgresql.conf, etc
5) start the new database server
6) pg_restore the old database into the newly initialized data directory

So, it sounds like you'll need to reinstall 7.4 and bring it back up, then use 
the 8.1.3 pg_dump to create a dump, then restore that into the new 8.1 server.

 
---------------------------------
It's here! Your new message!
Get new email alerts with the free Yahoo! Toolbar.

view thread (13+ messages)  latest in thread

Message-ID: <20070117204155.41670.qmail@web34210.mail.mud.yahoo.com>
Permalink:  ../20070117204155.41670.qmail@web34210.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/20070117204155.41670.qmail@web34210.mail.mud.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: cheighlund@yahoo.com, jeff@frostconsultingllc.com
  Subject: Re: Upgrade/Installation problem: Version 7.4.9 to version
  In-Reply-To: <20070117204155.41670.qmail@web34210.mail.mud.yahoo.com>
  References: <Pine.LNX.4.64.0701171054550.14094@discord.home.frostconsultingllc.com> <20070117204155.41670.qmail@web34210.mail.mud.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox