public inbox for [email protected]  
help / color / mirror / Atom feed
From: Andrew Dunstan <[email protected]>
To: PostgreSQL Hackers <[email protected]>
Subject: Re: Cygwin support
Date: Wed, 23 Apr 2025 15:56:06 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>


On 2025-04-21 Mo 12:29 PM, Andrew Dunstan wrote:
>
> Last year the old Windows machine where I was running the buildfarm 
> member lorikeet died, and since then we've had no buildfarm coverage 
> for Cygwin. I now have a new (but slow) W11pro machine and I have been 
> testing out Cygwin builds on it. I wanted to have it running the TAP 
> tests, unlike lorikeet. Attached is a set of very small patches aimed 
> at enabling this.
>
> The first patch makes us use our getopt implementation, just like we 
> do in Mingw. meson.build already has this, so this would just be 
> bringing configure into line with that.
>
> The second patch makes cygwin use the WIN32 pattern for psql's \watch 
> command. Without that, the Unix style implementation hangs.
>
> The third patch make Cygwin skip a permissions test in the SSL tests, 
> just like we do elsewhere in Windows.
>
> The fourth test ensures that we honor MAX_CONNECTIONS in a couple of 
> places where we rerun the regression suite. MAX_CONNECTIONS was 
> originally designed mainly for Cygwin, where too many concurrent 
> connections cause issues.
>
> The fifth patch disables one of the pgbench tests which is unstable on 
> Cygwin.
>
> There are still some issues, with the pg_dump, pg_upgrade, recovery 
> and subscription test sets. But apart from that, with these patches I 
> can consistently get a successful run.
>
> My intention is to apply these soon, and backpatch them as 
> appropriate. These are all pretty low risk. I'm going to be away for a 
> while starting in a day or so, but I'd like to get a buildfarm animal 
> going with these before I disappear.
>

Time has got the better of me, I won't be able to get back to this for a 
couple of months.


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com







view thread (5+ messages)  latest in thread

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Cygwin support
  In-Reply-To: <[email protected]>

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

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