Обсуждение: uninstall postgresql

Поиск
Список
Период
Сортировка

uninstall postgresql

От
Mukund Pate
Дата:
heelo sir,
 may i know how to uninstall the previous postgres7.0
 so i can install newer version 7.2

mukund

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

Re: uninstall postgresql

От
"scott.marlowe"
Дата:
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.)