Re: Terminal Server issues

Andreas Pflug <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
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



---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faqs/FAQ.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.