Re: Uninstalling PostgreSql

From: Bob Pawley <rjpawley(at)shaw(dot)ca>
To: Guy Rouillier <guyr(at)masergy(dot)com>, PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Uninstalling PostgreSql
Date: 2006-11-22 19:24:16
Message-ID: 003701c70e6b$cd2e4680$8e904618@owner
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Guy Wrote - "If your path does not include this directory, then just change
to it "cd \windows\system32" and issue your command from there. The current
directory is searched first before the path."

This worked - Thanks very much for your help.

Perhaps the PostgreSQL designers can include this in the uninstall procedure
to make PostgreSQL a little more user freindly to those of us without a PHD
in the tools we use to develop the systems in which we do have expertise.

"Software tools should be as easy to use as a wrench or hammer. It should
not be required that the user launch a second career in order to make use of
them."
(With due apologies to Joel Orr.)

Thanks again.

Bob
----- Original Message -----
From: "Guy Rouillier" <guyr(at)masergy(dot)com>
To: "PostgreSQL General" <pgsql-general(at)postgresql(dot)org>
Sent: Wednesday, November 22, 2006 10:13 AM
Subject: Re: [GENERAL] Uninstalling PostgreSql

Bob Pawley wrote:

> My Windows version is 5.1.

Which makes in Windows XP. I believe the net command is available in
all version. I run XP at home and it is there.

>
> My command prompt states that - net or delete - are not recognized as
> an
> internal or external command.

From the command prompt, enter the command "path" and hit enter.
Perhaps c:\windows\system32 is not in your path.

>
> The user account displays only the administrative account.
>
> I did find the net file under system 32.

If your path does not include this directory, then just change to it "cd
\windows\system32" and issue your command from there. The current
directory is searched first before the path.

>
> Still baffled.

Run it the way you were given, and if that doesn't work, reverse the
last two params per the help.

>
> Bob
>
> ----- Original Message -----
> From: "Guy Rouillier" <guyr(at)masergy(dot)com>
> To: "Postgresql" <pgsql-general(at)postgresql(dot)org>
> Sent: Wednesday, November 22, 2006 9:06 AM
> Subject: Re: [GENERAL] Uninstalling PostgreSql
>
>
> Bob Pawley wrote:
>> I've done this before but being DOS illiterate I can't remember the
>> details.
>>
>> In order to uninstall PostgreSQL a manual operation needs to take
>> place. My instructions are to enter - net user /delete postgres -
>> from the command prompt.
>>
>> My command prompt comes up C:\ (c/w a directory name depending on
>> how I start the prompt) and doesn't recogize the instructions.
>
> What version of Windows are you using? Some of the ancient ones
> didn't have the net command. That command should be found in
> c:\windows\system32, depending of course on how you've got your OS
> installed. When you say it "doesn't recognize the instructions",
> what is it saying? I just ran "net help user" from the command line,
> and it says your last two arguments should be reversed.
>
> At any rate, if you have admin rights on this computer, you'll
> accomplish exactly the same thing if you simply open up User Accounts
> from the Control Panel and delete the account that way.

--
Guy Rouillier

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruno Wolff III 2006-11-22 19:28:42 Re: BUG #2772: Undefined Subroutine Pg::connectdb (" ");
Previous Message Stephen Harris 2006-11-22 18:56:23 Re: Shutting down a warm standby database in 8.2beta3