pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hacksaw <hacksaw@hacksaw.org>
To: Lamar Owen <lamar.owen@wgcr.org>
Cc: pgsql-admin@postgresql.org
Subject: Re: Upgrading: So now you tell me!!?!?
Date: Thu, 27 Mar 2003 14:31:28 -0500
Message-ID: <200303271931.h2RJVSBK005983@habitrail.home.fools-errant.com> (raw)
In-Reply-To: <200303271408.59247.lamar.owen@wgcr.org>

No worries, I do know what to do in essence. One question: is there anything 
*special* I need to do? I notice a mention of needing to hand edit the 
dumpfiles if upgrading from 7.2 to 7.3. Is this the case here as well? Where 
is the documentation on that?

Let me say that despite the problems, I support your efforts. Being a 
sys-admin, I understand that mistakes are made, and I'm cool with it. I mainly 
wanted to help make sure someone with less experience and more at stake 
doesn't get burned.

Is there a clear marker of file format version in the database files? My 
suggestion would be to have the pre-install script test for that, and abort if 
it's the wrong version. Then you have the README.upgrade say something like 
"After you run pg_dumpall, move /var/lib/pqsql to /var/lib/pgsql.$OLD_VERSION_N
UMBER.

That way, the preinstall will find nothing, and be able to  do initdb, and if 
you are feeling really snarky, offer to try a restore for them.

-- 
Trust music.
http://www.hacksaw.org -- http://www.privatecircus.com -- KB1FVD




view thread (12+ messages)  latest in thread

Message-ID: <200303271931.h2RJVSBK005983@habitrail.home.fools-errant.com>
Permalink:  ../200303271931.h2RJVSBK005983@habitrail.home.fools-errant.com/
Also on:    postgresql.org/message-id/200303271931.h2RJVSBK005983@habitrail.home.fools-errant.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: hacksaw@hacksaw.org, lamar.owen@wgcr.org
  Subject: Re: Upgrading: So now you tell me!!?!?
  In-Reply-To: <200303271931.h2RJVSBK005983@habitrail.home.fools-errant.com>
  References: <200303271408.59247.lamar.owen@wgcr.org> <200303271931.h2RJVSBK005983@habitrail.home.fools-errant.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