pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Lamar Owen <lamar.owen@wgcr.org>
To: AlphaByte <alan@alphabyte.co.nz>
Cc: pgsql list - admin <pgsql-admin@postgresql.org>
Cc: pgsql list - general <pgsql-general@postgresql.org>
Subject: Re: I screwed it up, my installation :(
Date: Fri, 18 Aug 2000 14:00:24 -0400
Message-ID: <399D79B8.249240CB@wgcr.org> (raw)
References: <00081817033601.00874@alphabyte.co.nz>

AlphaByte wrote:
> Checking postgresql installation: old version. Need to
> Upgrade.See /usr/doc/postgresql-7.0/README.rpm for more
> information.
 
> So please help me, I am desperate.

Did you read the upgrade instructions in
/usr/doc/postgresql-7.0.2/README.rpm, by chance?  After you have read
the upgrade directions, I'll be happy to answer any question you may
have.

As to just changing the version number in /var/lib/pgsql, that's not a
good idea, as 7.0.2 has a different data format (system catalogs and
such) than 6.5.2 has.  The upgrade has taken care of half the work --
the other half is fully documented in the README.rpm file mentioned in
the error message issued by the startup script.

As to why this is not fully automatic -- well, there are people running
mission-critical databases on PostgreSQL.  Do I want to be responsible
for my automatic upgrade script trashing their database?  (Not likely!)
Thus, there is a script, postgresql-dump, adapted from the Debian
package, and documented in README.rpm, that handles the back half in a
semi-automatic fashion -- but, as far as I know, and as far as I've
heard, it won't trash your data if you run it as documented in
README.rpm.

No, you didn't mess up anything -- you just need to finish the job the
rpm upgrade started for you.

--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11



view thread (5+ messages)  latest in thread

Message-ID: <399D79B8.249240CB@wgcr.org>
Permalink:  ../399D79B8.249240CB@wgcr.org/
Also on:    postgresql.org/message-id/399D79B8.249240CB@wgcr.org

 · 

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: lamar.owen@wgcr.org, alan@alphabyte.co.nz, pgsql-general@postgresql.org
  Subject: Re: I screwed it up, my installation :(
  In-Reply-To: <399D79B8.249240CB@wgcr.org>
  References: <00081817033601.00874@alphabyte.co.nz> <399D79B8.249240CB@wgcr.org>

* 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