Re: Unregister Windows Service pg_ctl error

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Gevik" <gevik(at)xs4all(dot)nl>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Unregister Windows Service pg_ctl error
Date: 2006-01-14 17:16:18
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE92E9C1@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> > You need administrative privileges to unregister a service.
> Can't run
> > it as user postgres.
>
> I did the same under "Administrator" but then I get an access
> violation error like:
>
> Unhandled exception at 0x77c478c0 in pg_ctl.exe: 0xC0000005:
> Access violation reading location 0x00000000.
>
> What am I dong wrong?

That's the bug I sent in a patch for just now,that Peter has applied.

The workaround until the next release is out is to specify the data
directory when you do unregister. E.g.
pg_ctl -D ../data unregister

You shouldn't need that, but due to the bug you get a crash if you
don't...

//Magnus

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Gevik babakhani 2006-01-14 17:59:55 Re: Unregister Windows Service pg_ctl error
Previous Message Assad Jarrahian 2006-01-14 16:23:34 Re: sql (Stored procedure) design question