Re: InitDB Failure on install

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема Re: InitDB Failure on install
Дата
Msg-id 4125ECB0.7060506@pse-consulting.de
обсуждение исходный текст
Ответ на Re: InitDB Failure on install  ("Dave Page" <dpage@vale-housing.co.uk>)
Список 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

В списке pgsql-hackers-win32 по дате отправления:

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: InitDB Failure on install
Следующее
От: Andreas Pflug
Дата:
Сообщение: Re: InitDB Failure on install