Re: PostgreSQL Service on Windows does not start. ~ "is not a valid Win32 application" - Mailing list pgsql-hackers

From Rajeev rastogi
Subject Re: PostgreSQL Service on Windows does not start. ~ "is not a valid Win32 application"
Date
Msg-id BF2827DCCE55594C8D7A8F7FFD3AB7713DDAE9A1@SZXEML508-MBX.china.huawei.com
Whole thread Raw
In response to Re: PostgreSQL Service on Windows does not start. ~ "is not a valid Win32 application"  (Naoya Anzai <anzai-naoya@mxu.nes.nec.co.jp>)
Responses Re: PostgreSQL Service on Windows does not start. ~ "is not a valid Win32 application"
List pgsql-hackers
On 27 November 2013, Naoya Anzai wrote:
> Hi, Rajeev
>
> > > I tested the latest patch. My observation is:
> > >     If we give relative data directory path while registering the
> > > service, then service start fails.
> > >     But same works if the data directory is absolute path.
> > >
> > >     Looks like an existing issue. May be we need to internally
> convert
> > > relative data path to absolute.
> >
> > Since the mentioned issue is an existing issue and not because of
> this patch.
> > So can we take that as separate defect and fix. If so, then I can
> move
> > this patch to "ready for committer".
>
> I think so too.
> In boot by Service, CurrentDirectory seems to be "C:/Windows/system32".
> So, you have to set a relative data directory path that the starting
> point to be "C:/Windows/system32".
>

OK. Then I am moving it to "ready for committer".



pgsql-hackers by date:

Previous
From: "Etsuro Fujita"
Date:
Subject: Re: Get more from indices.
Next
From: Hannu Krosing
Date:
Subject: Re: [PATCH] Add transforms feature