Re: uninstall postgresql - Mailing list pgsql-general

From scott.marlowe
Subject Re: uninstall postgresql
Date
Msg-id Pine.LNX.4.33.0209051049570.16221-100000@css120.ihs.com
Whole thread Raw
In response to uninstall postgresql  (Mukund Pate <patemukund@yahoo.com>)
List pgsql-general
On Wed, 4 Sep 2002, Mukund Pate wrote:

> heelo sir,
>  may i know how to uninstall the previous postgres7.0
>  so i can install newer version 7.2

Are you using postgresql 7.0 from an RPM?  What OS are you running on?

If you installed it via RPM then you can issue a command something like:

rpm -e postgresql-7.0.x

where x is the sub version number.  You can use

rpm -qa|grep postgres

to find out the package name on a machine that used RPM to install.

If you installed from a tarball, you can just install the new postgresql
on top of the old one.

Either way, use pg_dumpall to get a backup of your data first as you'll
need to perform an initdb and restore your old data (if you want to keep
it.)


pgsql-general by date:

Previous
From: Joel Rodrigues
Date:
Subject: "...integer[] references..." = error
Next
From: Oleg Bartunov
Date:
Subject: Re: Problem with restoring dump (may be tsearch-related)