Skip site navigation (1) Skip section navigation (2)

Re: issue with Postgres uninstallation

From: Greg Smith <greg(at)2ndquadrant(dot)com>
To: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
Cc: Anuj Pankaj <anujp(at)cybage(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>, pgsql-admin(at)postgresql(dot)org
Subject: Re: issue with Postgres uninstallation
Date: 2010-09-17 06:05:12
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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(at)2ndQuadrant(dot)com Baltimore, MD
PostgreSQL Training, Services and Support
Author, "PostgreSQL 9.0 High Performance"    Pre-ordering at:

In response to

pgsql-admin by date

Next:From: Anuj PankajDate: 2010-09-17 06:08:55
Subject: Re: issue with Postgres uninstallation
Previous:From: Scott MarloweDate: 2010-09-17 05:58:38
Subject: Re: issue with Postgres uninstallation

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group