Re: uninstall postgresql

Поиск
Список
Период
Сортировка
От scott.marlowe
Тема Re: uninstall postgresql
Дата
Msg-id Pine.LNX.4.33.0209051049570.16221-100000@css120.ihs.com
обсуждение исходный текст
Ответ на uninstall postgresql  (Mukund Pate <patemukund@yahoo.com>)
Список 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 по дате отправления:

Предыдущее
От: Joel Rodrigues
Дата:
Сообщение: "...integer[] references..." = error
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: Problem with restoring dump (may be tsearch-related)