pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: Michael Paquier <michael.paquier@gmail.com>
To: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Fix pg_rewind when pg_xlog is a symlink.
Date: Tue, 04 Aug 2015 15:48:29 -0400
Message-ID: <55C1170D.9070909@dunslane.net> (raw)
In-Reply-To: <CAB7nPqQfWsk0wvOFm-5qObuVn-CUN09OJZtQoo1NyyTLn0PWqw@mail.gmail.com>
References: <E1ZMEwL-0007Ed-7o@gemulon.postgresql.org>
	<CAB7nPqTrhb=Sg=87v2shW=2ijCEZAqBa-n5je8yRdcwf9iNB1Q@mail.gmail.com>
	<55BF6EB3.2040905@iki.fi>
	<CAB7nPqQfWsk0wvOFm-5qObuVn-CUN09OJZtQoo1NyyTLn0PWqw@mail.gmail.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>


On 08/03/2015 09:05 PM, Michael Paquier wrote:
> On Mon, Aug 3, 2015 at 10:37 PM, Heikki Linnakangas wrote:
>> That's only on master, though. The TAP tests don't run on Windows in 9.5
>> anyway.
> Oops, yes I got mistaken by the commit on 9.5.
>
>> I guess the pg_rewind tests used to work, but we didn't really advertise or
>> make it easy to run it, so I'm not sure it's worth it to try to maintain
>> that. Then again, we might want to backpatch all the TAP-test changes to
>> make them work on Windows to 9.5, now that they've gotten some testing in
>> the buildfarm and seem to work.
> Usually new features are not backpatched, and the support for MSVC is one IMO.



I think we can be rather more liberal with testing regimes that we can 
core server and client code.


I have not yet tested these things with MSVC, but I can tell you:

a) some more changes will be required to allow the tests to run on 
mingw/msys
b) the rewind tests are currently failing very badly on my mingw/msys 
test rig. I'll be posting about that separately before long

>
>>>   On systems that don't support symbolic links, raises an exception. To
>>> check for that, use eval:
>>>
>>>      $symlink_exists = eval { symlink("",""); 1 };
>>
>> I wonder if we should be testing for that, instead of $windows_os.
> Yes, good point! The second platform referred as unsupported is RISC OS:
> http://perldoc.perl.org/perlport.html#symlink
> And Postgres can visibly work on it. It would be good to get for
> instance a RaspPI on the buildfarm with it, there is a development
> version.


The statement that Windows doesn't support symlinks isn't actually true. 
AS Perl in Windows doesn't (or might not, - I don't know about all 
versions). The test above doesn't fail on Msys DTK perl, but symlink 
calls in perl don't work either, So I think we'd better stay with the 
current test, or add the test above to the current test.

cheers

andrew




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



view thread (6+ messages)

Message-ID: <55C1170D.9070909@dunslane.net>
Permalink:  ../55C1170D.9070909@dunslane.net/
Also on:    postgresql.org/message-id/55C1170D.9070909@dunslane.net

 · 

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-committers@postgresql.org
  Cc: andrew@dunslane.net, michael.paquier@gmail.com, hlinnaka@iki.fi, heikki.linnakangas@iki.fi
  Subject: Re: pgsql: Fix pg_rewind when pg_xlog is a symlink.
  In-Reply-To: <55C1170D.9070909@dunslane.net>
  References: <E1ZMEwL-0007Ed-7o@gemulon.postgresql.org> <CAB7nPqTrhb=Sg=87v2shW=2ijCEZAqBa-n5je8yRdcwf9iNB1Q@mail.gmail.com> <55BF6EB3.2040905@iki.fi> <CAB7nPqQfWsk0wvOFm-5qObuVn-CUN09OJZtQoo1NyyTLn0PWqw@mail.gmail.com> <55C1170D.9070909@dunslane.net>

* 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