Re: BUG #4581: Difficult uninstall

From: Henrik(dot)Svensson(at)mydata(dot)se
To: "Dave Page" <dpage(at)pgadmin(dot)org>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4581: Difficult uninstall
Date: 2008-12-15 16:40:27
Message-ID: OF4269773F.DD97B32C-ONC1257520.0057E7EF-C1257520.005B5097@mydata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Thanks Dave for your quick reply.

So, as I understand it, the registry entries are left to simplify e.g. at
reinstallation enabling skip of some steps in the wizard.
The reason I was asking, is that I tried an application I have made on a
number of persons, and that some of them forgot the password they set on
the internal user (the DBO). The only way that I could come up with, was to
reinstall PostgreSQL.

Is there an other way?

Henrik Svensson
System Software
Phone +46 (0)8 475 56 87
Fax +46 (0)8 475 55 01
MYDATA automation AB
Box 20155, SE-161 02 BROMMA, Sweden
http://www.mydata.com
Registered Office: Stockholm; Reg.no. 556238-6739


"Dave Page"
<dpage(at)pgadmin(dot)or
g> To
"Henrik Svensson"
2008-12-15 16:52 <henrik(dot)svensson(at)mydata(dot)se>
cc
pgsql-bugs(at)postgresql(dot)org
Subject
Re: [BUGS] BUG #4581: Difficult
uninstall





On Mon, Dec 15, 2008 at 3:41 PM, Henrik Svensson
<henrik(dot)svensson(at)mydata(dot)se> wrote:
>
> The following bug has been logged online:
>
> Bug reference: 4581
> Logged by: Henrik Svensson
> Email address: henrik(dot)svensson(at)mydata(dot)se
> PostgreSQL version: 8.3.1
> Operating system: Windows XP SP2
> Description: Difficult uninstall
> Details:
>
> To remove PostgreSQL so you can reinstall it to my findings the following
> must be done:
> - Do "Control Panel" "Add Remove Programs" select "PostgreSQL 8.3" click
> "Remove". That's normal.

Yes.

> - Delete all files (still remaining??!!) under C:\Program Files
\PostgreSQL.

They are still remaining because they are your data. You wouldn't want
them to be removed when upgrading I assume?

> - Remove the service-user postgres. The reinstall can't handle that this
> user exists (?!).

It could, but we have no way of knowing if you're using that user
account for something else - for example, a different version (or
distribution) of PostgreSQL. Running two in parallel is not uncommon
when performing a major upgrade. Removing the user account could
easily break other things quite horribly.

> - Delete all fields in the registry containing the substring postgre

Some keys are retained to tell any future (re)installation or minor
upgrade where to find the data that was left behind.

> (???????????!!!!!!!!!!!!).

Your keyboard seems to be broken.

Regards, Dave.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Dave Page 2008-12-15 16:45:13 Re: BUG #4581: Difficult uninstall
Previous Message Dave Page 2008-12-15 15:52:07 Re: BUG #4581: Difficult uninstall