From: Lamar Owen <lamar.owen@wgcr.org>
To: Tony Ziolkowski <aziolk@rogers.com>
To: pgsql-admin@postgresql.org
Subject: Re: postgresql-dump not found in install
Date: Tue, 31 Dec 2002 22:51:22 -0500
Message-ID: <200212312251.22794.lamar.owen@wgcr.org> (raw)
In-Reply-To: <BCEJICGJOJBANHECCJILIEPBCJAA.aziolk@rogers.com>
References: <BCEJICGJOJBANHECCJILIEPBCJAA.aziolk@rogers.com>
On Tuesday 31 December 2002 22:41, Tony Ziolkowski wrote:
> SO what's the solution? I have an unworking postgresql.
You can try to downgrade to the previous version using 'rpm -U --oldpackage'
The Red Hat 8 release notes very explicitly caution against blind upgrades of
PostgreSQL. A dump should be done _before_ the OS is upgraded. Then you are
supposed to restore from the dump after the upgrade. This has been
documented in the release notes for Red Hat since at least 7.0.
PostgreSQL major version (7.1 to 7.2 is a major version change) upgrades
_always_ involve dumping the database, initdb'ing a new database, and
restoring the database after upgrade.
I sympathize with you; however, due to the nature of PostgreSQL it is very
difficult to facilitate seamless upgrades. Ask on the pgsql-hackers list
about dumpless upgrading for more edification. 'The nature of PostgreSQL'
above refers to its extreme extensibility and the advanced features that
require system catalog changes -- which are the driver behind the
dump/initdb/restore cycle.
As to the out-of-sync README.rpm-dist -- complain to Red Hat for shipping
their packages without programs referred to in the documentation.
Although you didn't mention rh-dump.sh, which is what the README.rpm-dist
documentation file specifically recommends instead of postgresql-dump.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11
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, aziolk@rogers.com
Subject: Re: postgresql-dump not found in install
In-Reply-To: <200212312251.22794.lamar.owen@wgcr.org>
References: <BCEJICGJOJBANHECCJILIEPBCJAA.aziolk@rogers.com> <200212312251.22794.lamar.owen@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