pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Greg Smith <greg@2ndquadrant.com>
To: Scott Marlowe <scott.marlowe@gmail.com>
Cc: Anuj Pankaj <anujp@cybage.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Devrim GÜNDÜZ <devrim@gunduz.org>
Cc: pgsql-admin@postgresql.org
Subject: Re: issue with Postgres uninstallation
Date: Fri, 17 Sep 2010 02:05:12 -0400
Message-ID: <4C930518.1090402@2ndquadrant.com> (raw)
In-Reply-To: <AANLkTi=pcSOdO2eg6_wn+o0w8Jwq4GqCT=4_TS0FqKqq@mail.gmail.com>
References: <2856B55CBB911B488D04E177EEF57D331137258C@ct-beexch-1-1.cybage.com>
	<4003.1284557720@sss.pgh.pa.us>
	<2856B55CBB911B488D04E177EEF57D33113FA6F5@ct-beexch-1-1.cybage.com>
	<12378.1284648364@sss.pgh.pa.us>
	<2856B55CBB911B488D04E177EEF57D33114736EB@ct-beexch-1-1.cybage.com>
	<AANLkTi=pcSOdO2eg6_wn+o0w8Jwq4GqCT=4_TS0FqKqq@mail.gmail.com>

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




view thread (9+ messages)  latest in thread

Message-ID: <4C930518.1090402@2ndquadrant.com>
Permalink:  ../4C930518.1090402@2ndquadrant.com/
Also on:    postgresql.org/message-id/4C930518.1090402@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: greg@2ndquadrant.com, scott.marlowe@gmail.com, anujp@cybage.com, tgl@sss.pgh.pa.us, devrim@gunduz.org
  Subject: Re: issue with Postgres uninstallation
  In-Reply-To: <4C930518.1090402@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox