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 13:29:49
Message-ID: 4125FCCD.5000800@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32

Dave Page wrote:
>
>
>
>>-----Original Message-----
>>From: pgsql-hackers-win32-owner(at)postgresql(dot)org
>>[mailto:pgsql-hackers-win32-owner(at)postgresql(dot)org] On Behalf
>>Of Dave Page
>>Sent: 20 August 2004 12:08
>>To: Andreas Pflug
>>Cc: pgsql-hackers-win32(at)postgresql(dot)org
>>Subject: Re: [pgsql-hackers-win32] InitDB Failure on install
>>
>>
>>>The official way to detect a terminal service session according to
>>>MSDN is
>>>
>>>bool IsRemoteSession() { return
>>
>>GetSystemMetrics(SM_REMOTESESSION); }
>>
>>Hmm, too much time playing with Citrix recently! I'll change
>>it shortly
>>- thanks.
>
>
> Actually I'm going to leave it as it is for now - that won't work on NT4
> (even with TS afaict), and as it's possible the installer may be fixed
> for NT in the future, I'd rather not introduce any further
> incompatibilities.

No, it's NT4SP4 or later.
We definitely should require NT4SP4 or later anyway.

BTW, GetSystemMetrics would return 0 for unsupported SM_ values.

Regards,
Andreas

In response to

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Barry Lind 2004-08-20 16:48:31 Service startup delay
Previous Message Andreas Pflug 2004-08-20 12:21:04 Re: InitDB Failure on install