pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: PostgreSQL mailing lists <pgsql-odbc@postgresql.org>
Subject: Re: Running regression tests on Windows
Date: Wed, 18 Jun 2014 15:50:35 +0300
Message-ID: <53A18B1B.9020405@vmware.com> (raw)
In-Reply-To: <CAB7nPqQeMSb7xxTiOFdsgaw0Et8WZqJBTthOYusT0hRsDkJ41A@mail.gmail.com>
References: <CAB7nPqSZ1E42fdAaP4NjDG6HeC14WuWRN0rhR_eFHTuMV0KBdg@mail.gmail.com>
	<537B8520.1070800@vmware.com>
	<CAB7nPqQLyynCh8sVCXm2hJea64gViXa2UB3JiVdZ9tx7DWNA1w@mail.gmail.com>
	<5399F7B6.7000208@vmware.com>
	<CAB7nPqSnm3ENgOoFKmy-n6S58QCnJCi3YuVvDWeJb-WEfhuQKQ@mail.gmail.com>
	<53A17FF5.6050304@vmware.com>
	<CAB7nPqQeMSb7xxTiOFdsgaw0Et8WZqJBTthOYusT0hRsDkJ41A@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

On 06/18/2014 03:18 PM, Michael Paquier wrote:
> On Wed, Jun 18, 2014 at 9:03 PM, Heikki Linnakangas
> <hlinnakangas@vmware.com> 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/<testname>-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=a692ee5870f0f442565b4c4bff367094599e9b...

- Heikki


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



view thread (9+ messages)  latest in thread

Message-ID: <53A18B1B.9020405@vmware.com>
Permalink:  ../53A18B1B.9020405@vmware.com/
Also on:    postgresql.org/message-id/53A18B1B.9020405@vmware.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: hlinnakangas@vmware.com, michael.paquier@gmail.com
  Subject: Re: Running regression tests on Windows
  In-Reply-To: <53A18B1B.9020405@vmware.com>
  References: <CAB7nPqSZ1E42fdAaP4NjDG6HeC14WuWRN0rhR_eFHTuMV0KBdg@mail.gmail.com> <537B8520.1070800@vmware.com> <CAB7nPqQLyynCh8sVCXm2hJea64gViXa2UB3JiVdZ9tx7DWNA1w@mail.gmail.com> <5399F7B6.7000208@vmware.com> <CAB7nPqSnm3ENgOoFKmy-n6S58QCnJCi3YuVvDWeJb-WEfhuQKQ@mail.gmail.com> <53A17FF5.6050304@vmware.com> <CAB7nPqQeMSb7xxTiOFdsgaw0Et8WZqJBTthOYusT0hRsDkJ41A@mail.gmail.com> <53A18B1B.9020405@vmware.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox