Re: InitDB Failure on install
"Dave Page" <[email protected]>
| Newsgroups | gmane.comp.db.postgresql.devel.win32 |
|---|---|
| Message-ID | <E7F85A1B5FF8D44C8A1AF6885BC9A0E41A77EB@ratbert.vale-housing.co.uk> |
> -----Original Message----- > From: Andreas Pflug [mailto:[email protected]] > Sent: 20 August 2004 13:21 > To: Dave Page > Cc: [email protected] > Subject: Re: [pgsql-hackers-win32] InitDB Failure on install > > 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); } Hmm, too much time playing with Citrix recently! I'll change it shortly - thanks. Regards, Dave ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html