Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WxFKB-0000wa-3J for pgsql-odbc@arkaria.postgresql.org; Wed, 18 Jun 2014 12:50:47 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WxFKA-0008WP-Bd for pgsql-odbc@arkaria.postgresql.org; Wed, 18 Jun 2014 12:50:46 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WxFK9-0008WI-Ci for pgsql-odbc@postgresql.org; Wed, 18 Jun 2014 12:50:45 +0000 Received: from smtp-outbound-1.vmware.com ([208.91.2.12]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1WxFK5-0003Ko-6z for pgsql-odbc@postgresql.org; Wed, 18 Jun 2014 12:50:43 +0000 Received: from sc9-mailhost1.vmware.com (sc9-mailhost1.vmware.com [10.113.161.71]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 7DB3028F76; Wed, 18 Jun 2014 05:50:38 -0700 (PDT) Received: from zcs-prod-ext-mta-2.vmware.com (zcs-prod-ext-mta-2.vmware.com [10.113.62.224]) by sc9-mailhost1.vmware.com (Postfix) with ESMTP id 7723A1A313; Wed, 18 Jun 2014 05:50:38 -0700 (PDT) Received: from zcs-prod-ext-mta-2.vmware.com (localhost.localdomain [127.0.0.1]) by zcs-prod-ext-mta-2.vmware.com (Postfix) with ESMTP id 7CB85C005D; Wed, 18 Jun 2014 05:50:52 -0700 (PDT) Received: from [192.168.1.90] (zimbra-prod-ext-proxy-vip.vmware.com [10.113.63.87]) by zcs-prod-ext-mta-2.vmware.com (Postfix) with ESMTPSA; Wed, 18 Jun 2014 05:50:51 -0700 (PDT) Message-ID: <53A18B1B.9020405@vmware.com> Date: Wed, 18 Jun 2014 15:50:35 +0300 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.5.0 MIME-Version: 1.0 To: Michael Paquier CC: PostgreSQL mailing lists Subject: Re: Running regression tests on Windows References: <537B8520.1070800@vmware.com> <5399F7B6.7000208@vmware.com> <53A17FF5.6050304@vmware.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -6.9 (------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org On 06/18/2014 03:18 PM, Michael Paquier wrote: > On Wed, Jun 18, 2014 at 9:03 PM, Heikki Linnakangas > wrote: >> On 06/13/2014 03:39 AM, Michael Paquier wrote: >>>> >>>>> Oh. I don't think that's really necessary. Windows can handle relative >>>>> paths >>>>> just fine. With the \! syntax, though, it seems that Windows wants an >>>>> extra >>>>> pair of quotes. So this works: >>>>> >>>>> \! "src/-test" >>>>> >>>>> That also works on Unix, although the extra quotes are not necessary >>>>> there, >>>>> so let's just do that. >>> >>> OK good to know. I didn't think about that when writing this patch. >> >> On further testing, that only works on Windows with psql version 9.4 or >> later. Maybe we can live with that.. > Ouch OK. Is there any reason specific to psql for that? Older versions didn't quote the command passed to CMD properly. That was fixed in 9.4, but not backpatched, in fear that it would break people's scripts that currently include an extra pair of quotes in the command, to work around that. See commit http://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=a692ee5870f0f442565b4c4bff367094599e9bdf - Heikki -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc