pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Uwe C. Schroeder <uwe@oss4u.com>
To: MPaule Torre <torre@obs-vlfr.fr>
To: pgsql-admin@postgresql.org
Subject: Re: redhat Ent3 et postegresql v7.4.3
Date: Thu, 12 Aug 2004 10:37:42 -0700
Message-ID: <200408121037.42940.uwe@oss4u.com> (raw )
In-Reply-To: <5.0.2.1.2.20040812144528.00a76858@oceane.obs-vlfr.fr >
References: <5.0.2.1.2.20040812144528.00a76858@oceane.obs-vlfr.fr >
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Usually the RPM's work fine if they're build for that version of operating
system.
What I tend to do is not trust RPM to do the update correctly (particularly
with postgres).
So normally for an upgrade I:
pg_dumpall > backup.dump
shut down the postmaster
make a backup copy of the old data directory (usually /var/lib/pgsql)
do an rpm -e on all postgres and libpq packages.
make sure /var/lib/pgsql is gone now
install the new version from the rpms which should create a complete setup and
also do the initdb for you.
then restore the databases as postgres user with
psql template1 < backup.dump
do a vacuum full analyze verbose on all databases
If that went all well you should have all your data back in place. You may
have to fiddle with the postgres.conf and pg_hba.conf settings, because
removing the old postgres version will also erase those files. So you may
want to keep a copy around for reference.
Hope that helps
UC
On Thursday 12 August 2004 05:51 am, MPaule Torre wrote:
> Hello everybody
>
> I have a red hat ent.3 operationg system. It has been delivered with
> postgresql v7.3.6-1
>
> I would like to use a new stable version : v7.4.3
> (server on linux and an ontother PC under windows 2000 to test and develop
>
> : with cygwin => v7.4.3 or v7.4.2 available)
>
> Do you have any information about installing postgresql v7.4.3 rpm on this
> redhat ent 3 operating system ? is it working well ?
> Do I have to delete the oldest package (rpm too) ?
>
>
> More thanks in advance
>
>
> ---------------------------------------------------------------------------
>---------------- TORRE MPaule
> Observatoire Oceanologique -OOV
> PROOF Base de Données/Web
> Quai de la Darse, BP8,Cas. Nicolas
> 06238 VILLEFRANCHE sur MER
> FRANCE
> TEL (33)4.93.76.38.77
> FAX (33)4.93.76.38.73
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faqs/FAQ.html
- --
UC
- --
Open Source Solutions 4U, LLC 2570 Fleetwood Drive
Phone: +1 650 872 2425 San Bruno, CA 94066
Cell: +1 650 302 2405 United States
Fax: +1 650 872 2417
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFBG6rmjqGXBvRToM4RAusjAKCdWQUpxNd5aZsdavUhzw8h7hua1ACdH7t6
ojvcu1GTOIIC3VA/bkhYyMw=
=eib4
-----END PGP SIGNATURE-----
view thread (5+ messages) latest in thread
Message-ID: <200408121037.42940.uwe@oss4u.com>
Permalink: ../200408121037.42940.uwe@oss4u.com/
Also on: postgresql.org/message-id/200408121037.42940.uwe@oss4u.com
copy link · copy postgr.es
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: uwe@oss4u.com, torre@obs-vlfr.fr
Subject: Re: redhat Ent3 et postegresql v7.4.3
In-Reply-To: <200408121037.42940.uwe@oss4u.com>
References: <5.0.2.1.2.20040812144528.00a76858@oceane.obs-vlfr.fr> <200408121037.42940.uwe@oss4u.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