Thread: Removing older versions

Removing older versions

From
Blueb
Date:
Hi,

I installed PostgreSQL 8.4 over a PostgreSQL 8.3 installation (using msi) on
a Windows machine.

My pgAdmin3 program correctly displays only PostgreSQL 8.4 on localhost.

I went to my harddrive and noticed that I have PostgreSQL 8.3 "DATA" files
installed in: C:\Program Files\PostgreSQL\8.3

Thinking these were simply empty folders.. I tried to delete them, but I get
an error that I needed permission to do this.

I looked and there seems to be 13 megs of data files that the install
program did not delete.

How can I do this from either pgAdmin.exe or manually?

Perhaps the documentation discusses this, but I could not locate anything of
value.


--Bob
--
View this message in context: http://www.nabble.com/Removing-older-versions-tp25204226p25204226.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


Re: Removing older versions

From
Jasen Betts
Date:
On 2009-08-29, Blueb <blueb@shaw.ca> wrote:
> I installed PostgreSQL 8.4 over a PostgreSQL 8.3 installation (using msi) on
> a Windows machine.

there's a msi installer for 8.4?

> My pgAdmin3 program correctly displays only PostgreSQL 8.4 on localhost.
>
> I went to my harddrive and noticed that I have PostgreSQL 8.3 "DATA" files
> installed in: C:\Program Files\PostgreSQL\8.3
>
> Thinking these were simply empty folders.. I tried to delete them, but I get
> an error that I needed permission to do this.
>
> I looked and there seems to be 13 megs of data files that the install
> program did not delete.
>
> How can I do this from either pgAdmin.exe or manually?

you need windows superuser - try doing it as administrator.
ensure that the pgsql-8.3 service is not running,

or try this:

runas postgres cmd /c del /s /y C:\Program Files\PostgreSQL\8.3