From: | "Magnus Hagander" <mha(at)sollentuna(dot)net> |
---|---|
To: | "Taworn T(dot)" <taworn(at)yahoo(dot)com>, <pgsql-bugs(at)postgresql(dot)org> |
Subject: | Re: BUG #2216: Cannot unregister service |
Date: | 2006-01-27 13:22:13 |
Message-ID: | 6BCB9D8A16AC4241919521715F4D8BCE6C7F6A@algol.sollentuna.se |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
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."
This is a known bug that's fixed in CVS:
http://archives.postgresql.org/pgsql-committers/2006-01/msg00220.php
The workaround is to specify the data directory, e.g.
pg_ctl -D "c:\program files\postgresql-8.1\data" unregister -N
PostgreSQL81
//Magnus
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Treat | 2006-01-27 15:35:35 | Re: improper estimates even with high statistic values |
Previous Message | Tom Lane | 2006-01-26 23:48:26 | Re: BUG #2195: log_min_messages crash server when in DEBUG3 to |