Search Postgresql Archives

Re: Unregister Windows Service pg_ctl error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > 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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux