Re: InitDB Failure on install

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Cc: pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: InitDB Failure on install
Date: 2004-08-20 12:21:04
Message-ID: 4125ECB0.7060506@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32

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

In response to

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Andreas Pflug 2004-08-20 13:29:49 Re: InitDB Failure on install
Previous Message Dave Page 2004-08-20 11:52:30 Re: InitDB Failure on install