Re: uninstall postgresql

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: Mukund Pate <patemukund(at)yahoo(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: uninstall postgresql
Date: 2002-09-05 16:51:59
Message-ID: Pine.LNX.4.33.0209051049570.16221-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message scott.marlowe 2002-09-05 17:04:04 Re: PostgreSQL vs MySQL : strange results on insertion
Previous Message Joel Rodrigues 2002-09-05 16:46:44 "...integer[] references..." = error