Re: Compiling to RPM setup/filesystem layout - Mailing list pgsql-general

From Lamar Owen
Subject Re: Compiling to RPM setup/filesystem layout
Date
Msg-id 01053116263608.00928@lowen.wgcr.org
Whole thread Raw
In response to Compiling to RPM setup/filesystem layout  (Gerald Gutierrez <gml1@coldresist.com>)
Responses Re: Compiling to RPM setup/filesystem layout
List pgsql-general
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 31 May 2001 15:59, Gerald Gutierrez wrote:
> I'm patiently waiting for the 7.1.2 RPMs to be released. Since there's no
> indication when they may be ready, I'd like to try compiling PostgreSQL
> myself.

Oooo... Saturday afternoon.  I'm making a few changes to the build that I
need to test before releasing, so expect a release Saturday.

> Unfortunately, I can't just "compile" since I need to be able to replace my
> current 7.0.3 installation, installed via RPMs. How do I go about this so I
> don't mess everything up (leftover files and such, in addition to the
> mandatory pg_dump) ? Also, how do I ensure that when future RPMs come out,
> I can just use the RPMs and upgrade a compiled version?

If you want to go to a from source distribution, do the following:
pg_dumpall your whole database to somewhere other than /var/lib/pgsql.
rpm -qa|grep ^postgresql
rpm -e all-of-the-postgresql-rpms-you-found
rm -rf /var/lib/pgsql
Install from source into /usr/local/pgsql just like you want to.

If you have other RPM's that depend upon the PostgreSQL RPM's provides, then
you have a bigger problem.  The easiest way to deal with that is waiting
until Saturday and downloading the new version.

But even then you need to do a full dump of your data!
- --
Lamar Owen
WGCR Internet Radio
1 Peter 4:11
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7Fqj+5kGGI8vV9eERAmzRAKCfgPeJozqOc+nDLy4Ke91lo3IF2ACdHok+
fFTF2YHhSmNQ7wpUWr7LEZs=
=ufSj
-----END PGP SIGNATURE-----

pgsql-general by date:

Previous
From: teg@redhat.com (Trond Eivind Glomsrød)
Date:
Subject: Re: Compiling to RPM setup/filesystem layout
Next
From: Limin Liu
Date:
Subject: extra syntax on INSERT