Skip site navigation (1) Skip section navigation (2)

BUG #2216: Cannot unregister service

From: "Taworn T(dot)" <taworn(at)yahoo(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #2216: Cannot unregister service
Date: 2006-01-26 18:41:27
Message-ID: 20060126184127.ECFFEF0B00@svr2.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-bugs
The following bug has been logged online:

Bug reference:      2216
Logged by:          Taworn T.
Email address:      taworn(at)yahoo(dot)com
PostgreSQL version: 8.1.2
Operating system:   Windows XP
Description:        Cannot unregister service
Details: 

I've install PGSQL 8.1 as Windows service, using following command line:

"C:\Program Files\PostgreSQL-8.1\bin\pg_ctl.exe" register -N PostgreSQL81 -D
"<path_to_data>" -U Postgres

The result is success and I can use PGSQL as usual.

But when I uninstall service using following command line:

"C:\Program Files\PostgreSQL-8.1\bin\pg_ctl.exe" unregister -N PostgreSQL81

pg_ctl.exe is crashed!! with error reporting (to Microsoft) screen:

"pg_ctl.exe has encountered a problem and needs to close.  We are sorry for
the inconvenience."

And the PGSQL service remains and can still be used.

Please note that version 8.0 does not has this bug.
I've encountered this problem when migrating to 8.1.
I've also recreate database cluster with version 8.1 but it has the same
error.

The version I've downloaded is
postgresql-8.1.2-1-binaries-no-installer.zip.

Regards,
Taworn T.

PS: Sorry about my poor English Y_Y

pgsql-bugs by date

Next:From: Bruce MomjianDate: 2006-01-26 18:55:17
Subject: Re: BUG #2195: log_min_messages crash server when in DEBUG3 to
Previous:From: Tom LaneDate: 2006-01-26 17:55:00
Subject: Re: BUG #2195: log_min_messages crash server when in DEBUG3 to

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group