Re: Terminal Server issues - Mailing list pgsql-hackers-win32

From Andreas Pflug
Subject Re: Terminal Server issues
Date
Msg-id 412923B9.5070901@pse-consulting.de
Whole thread Raw
In response to Terminal Server issues  ("Magnus Hagander" <mha@sollentuna.net>)
List pgsql-hackers-win32
Magnus Hagander wrote:
> I've done some more investigation on the issues with running initdb
> (well, running the postgres backend actually, which initdb does in a
> pipe of course). When I look at the actual error essage, it's "The
> specified path is invalid"!
>
> I don't see any reason why this should happen. I've also tried
> experimenting with the Local\ and Global\ prefixes of the file mapping
> object, but that makes no difference, the problem is still there.
>
> Does anybody have any idea of why CreateFileMapping() would behave
> differently on win2k terminal services

I don't, but you could try to use an explicit temp file, instead of
INVALID_FILE_HANDLE. Maybe the page file is accessible only in the
console session.

Regards,
Andreas



pgsql-hackers-win32 by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Terminal Server issues
Next
From: Mark Kirkwood
Date:
Subject: Re: Terminal Server issues