Re: InitDB Failure on install

Andreas Pflug <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
Dave Page wrote:

> 
> 
> OK, thanks. I committed a patch for this last night BTW. One thing that
> struck me this morning though - the patch checks that %SESSIONNAME% ==
> "Console" (as oppsed to something like ICA-tcp#45 as you might see on a
> Citrix session); does the word "Console" get localised on non-English
> versions of Windows? Can someone check this for me please?

The official way to detect a terminal service session according to MSDN is

bool IsRemoteSession() { return GetSystemMetrics(SM_REMOTESESSION); }

Regards,
Andreas

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
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.