Re: issue with Postgres uninstallation

Поиск
Список
Период
Сортировка
От Greg Smith
Тема Re: issue with Postgres uninstallation
Дата
Msg-id 4C930518.1090402@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: issue with Postgres uninstallation  (Scott Marlowe <scott.marlowe@gmail.com>)
Список pgsql-admin
Scott Marlowe wrote:
> You do not need the packages to uninstall them.  do this:
>
> rpm -qa|grep -i postgres
>
> and see what packages are listed.
>
> Then
>
> rpm -e packagename1 packagename2 ...
>
> to remove them all.
>

Note that you may have issues removing the compat-postgresql-libs
packages, as things other than the main database sofware you can have
installed will rely on those.  Here's what I do to get rid of all the
rest of them in one easy command:

rpm -qa | egrep "^postgresql" | xargs rpm -e

--
Greg Smith, 2ndQuadrant US greg@2ndQuadrant.com Baltimore, MD
PostgreSQL Training, Services and Support  www.2ndQuadrant.us
Author, "PostgreSQL 9.0 High Performance"    Pre-ordering at:
https://www.packtpub.com/postgresql-9-0-high-performance/book


В списке pgsql-admin по дате отправления:

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: issue with Postgres uninstallation
Следующее
От: Anuj Pankaj
Дата:
Сообщение: Re: issue with Postgres uninstallation