Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id DE88F126090B for ; Wed, 27 Jun 2012 05:48:26 -0300 (ADT) Received: from mail-pz0-f46.google.com ([209.85.210.46]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SjnvE-000479-Pb for pgsql-bugs@postgresql.org; Wed, 27 Jun 2012 08:48:25 +0000 Received: by dady13 with SMTP id y13so1102079dad.19 for ; Wed, 27 Jun 2012 01:48:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=lmifVHnV+9ttFLZNCp6PA4h8Ep6VaQl3O/F+5H8BBlQ=; b=IkuVXydJ3Pt6OcjaSzzJuP6pib2Vg3lqC6adPIOo7X9ZrZTmzySXd9JsGqlIqiuD/b AhJacz86Ga3RiXUvieNwynM3VwCOrbKnBXK2pWmyCWap/4Fz+6jZczXnrbP72ElXhEae y8XWicZ3jb+HwU1tTGHZAD7U0pkVLZZmNGROy3auWVog8gXW65oraWCcsHxxN9oQImMX 8I0P/+bDQGzPSNxIZBNVGrscBe0KDUAhW0k7GBcmcuA5qhKPMSX976yT3zilfecBZ1MW 07y/Q+vPce/4hCNK7Hlllc3+Ann7YuR0uDU5PILxTT0VGnunkfLR1M+VXmDPFL+1IdWQ xcew== Received: by 10.68.130.9 with SMTP id oa9mr61122595pbb.95.1340786891646; Wed, 27 Jun 2012 01:48:11 -0700 (PDT) Received: from ayaki.localdomain (office1.postnewspapers.com.au. [150.101.171.128]) by mx.google.com with ESMTPS id hf5sm14562773pbc.4.2012.06.27.01.48.08 (version=SSLv3 cipher=OTHER); Wed, 27 Jun 2012 01:48:10 -0700 (PDT) Message-ID: <4FEAC8C5.3040201@ringerc.id.au> Date: Wed, 27 Jun 2012 16:48:05 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 MIME-Version: 1.0 To: Magnus Hagander CC: Dave Page , gj19861103@gmail.com, pgsql-bugs Subject: Re: BUG #6705: 32 bit References: <4FE7EC0E.9050800@ringerc.id.au> <4FE8860B.7010300@ringerc.id.au> <4FEAA75A.5040103@ringerc.id.au> <4FEAAB5E.5030703@ringerc.id.au> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQlFw/H50kPd+cI06EMOB//SY6oThygnjlj1W+JIINm0UkMVlVGF6OrYUbQVF3QJyjxj70wp X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201206/228 X-Sequence-Number: 33455 On 06/27/2012 02:49 PM, Magnus Hagander wrote: > There are some easy api to get whether the box is on a domain or not, > and it's easily accessible from wsh as well. And it ought to be > trivial in power shell... > Good to know. Since it's a troubleshooting tool there's no real problem with saying "First, go install powershell" - but it'd be better not to need to if it's available via wsh. Ick ick ick. I've kept away from this stuff and been happy about it, why do I keep volunteering myself for horrid Windows guts stuff? > > As for the av, I'm less sure. Maybe it's better to just dump a list of > installed programs? I'd expect all av to be installed by installers > that register them. > There's no guarantee they won't try to hide, though. AV software vendors may think it's a good idea to make it hard for software on the machine to tell what AV is running. I'm hoping not, but it's quite possible. > > The other idea would be to find out if there is an api corresponding > to the "your computer is at risk" is warning bubble, and just use it > backwards. I have non idea if there is though, I've never done any > work in that area at all. > That's what I'm hoping is possible, but like you haven't dug into it yet. -- Craig Ringer