Re: Starting build-system work (Windows/Mac users please speak up)

From: Chapman Flack <chap(at)anastigmatix(dot)net>
To: Kartik Ohri <kartikohri13(at)gmail(dot)com>
Cc: pljava-dev(at)lists(dot)postgresql(dot)org
Subject: Re: Starting build-system work (Windows/Mac users please speak up)
Date: 2020-06-06 14:19:05
Message-ID: 5EDBA5D9.8090506@anastigmatix.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

On 06/06/20 08:40, Kartik Ohri wrote:
> The solution is to use *pg_ctl* to start the postgres server from a shell
> with appropriate permissions. Earlier, I was trying to start the postgres
> server using *net start *in CMD and *Start-Service* in PowerShell. Even
> with privileged shells, postgres created using these commands do not have
> the necessary rights to some directories (including the Java directory,
> hence, the libjvm location error). I was unable to figure out why this
> happens.

Interesting! There are a bunch of #ifdef WIN32 sections in pg_ctl.c [1],
maybe some useful info in there.

Regards,
-Chap

[1]
https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/bin/pg_ctl/pg_ctl.c;hb=HEAD

In response to

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Kartik Ohri 2020-06-15 16:47:09 Re: Starting build-system work (Windows/Mac users please speak up)
Previous Message Kartik Ohri 2020-06-06 12:40:26 Re: Starting build-system work (Windows/Mac users please speak up)