Thread: uninstall postgres 8.2

uninstall postgres 8.2

From
"Josh Harrison"
Date:
Hi,
What is the best way to uninstall postgres?
 I'm planning to use postgres 8.3 beta and I would like to uninstall my earlier version 8.2.3. This is only a  test database and so I'm not interested in upgrading or preserving anything from this version.
Thanks
josh

Re: uninstall postgres 8.2

From
Raymond O'Donnell
Date:
On 03/12/2007 15:20, Josh Harrison wrote:

> What is the best way to uninstall postgres?

What platform are you on? How did you install it in the first place? If
you're on Windows, use the installer. If you're on Debian or Ubuntu and
you used apt-get to install, use apt-get remove [...]. If you compiled
from source (make, then make install, etc), I'd simply remove the
installation and source directories by hand.

Ray.

---------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod@iol.ie
---------------------------------------------------------------

Re: uninstall postgres 8.2

From
"Gevik Babakhani"
Date:
Is this on windows or linux/unix?
 
On windows run the setup/uninstaller from your control-panel. You can remove the data directory assuming PG is installed on c:\program files\postgresql\8.2\....
that's it for windows.... :)
 
On unix/linux, you should try to uninstall using your package manager for example apt-get or yum ....
 
Regards,
Gevik Babakhani
------------------------------------------------
PostgreSQL NL       http://www.postgresql.nl
TrueSoftware BV     http://www.truesoftware.nl
------------------------------------------------


From: pgsql-general-owner@postgresql.org [mailto:pgsql-general-owner@postgresql.org] On Behalf Of Josh Harrison
Sent: Monday, December 03, 2007 4:21 PM
To: pgsql-general@postgresql.org
Subject: [GENERAL] uninstall postgres 8.2

Hi,
What is the best way to uninstall postgres?
 I'm planning to use postgres 8.3 beta and I would like to uninstall my earlier version 8.2.3. This is only a  test database and so I'm not interested in upgrading or preserving anything from this version.
Thanks
josh

Re: uninstall postgres 8.2

From
"Gregory Williamson"
Date:

josh --

Delete everything under the postgres directory (we put ours on /apps/postgres.version.whatever.) to remove the executables/libs etc, and delete the entire data directory that the initdb pointed to. e.g if $PGDATA is /data/postgres/billing, rm -rf /data/postgres/billing would get rid of all the data and supporting tables. Don't forget to wipe the log, if any.

(Sorry for top-posting --challenged reader)

Greg Williamson
Senior DBA
GlobeXplorer LLC, a DigitalGlobe company

Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information and must be protected in accordance with those provisions. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

(My corporate masters made me say this.)



-----Original Message-----
From: pgsql-general-owner@postgresql.org on behalf of Josh Harrison
Sent: Mon 12/3/2007 8:20 AM
To: pgsql-general@postgresql.org
Subject: [GENERAL] uninstall postgres 8.2

Hi,
What is the best way to uninstall postgres?
 I'm planning to use postgres 8.3 beta and I would like to uninstall my
earlier version 8.2.3. This is only a  test database and so I'm not
interested in upgrading or preserving anything from this version.
Thanks
josh

Re: uninstall postgres 8.2

From
"Josh Harrison"
Date:
Thanks. Ill just delete them
josh

On Dec 3, 2007 10:37 AM, Gregory Williamson <Gregory.Williamson@digitalglobe.com> wrote:

josh --

Delete everything under the postgres directory (we put ours on /apps/postgres.version.whatever.) to remove the executables/libs etc, and delete the entire data directory that the initdb pointed to. e.g if $PGDATA is /data/postgres/billing, rm -rf /data/postgres/billing would get rid of all the data and supporting tables. Don't forget to wipe the log, if any.

(Sorry for top-posting --challenged reader)

Greg Williamson
Senior DBA
GlobeXplorer LLC, a DigitalGlobe company

Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information and must be protected in accordance with those provisions. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

(My corporate masters made me say this.)





-----Original Message-----
From: pgsql-general-owner@postgresql.org on behalf of Josh Harrison
Sent: Mon 12/3/2007 8:20 AM
To: pgsql-general@postgresql.org
Subject: [GENERAL] uninstall postgres 8.2

Hi,
What is the best way to uninstall postgres?
 I'm planning to use postgres 8.3 beta and I would like to uninstall my
earlier version 8.2.3. This is only a  test database and so I'm not
interested in upgrading or preserving anything from this version.
Thanks
josh