Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u7gCg-003tSt-Bg for pgsql-hackers@arkaria.postgresql.org; Wed, 23 Apr 2025 19:56:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1u7gCd-009fyz-1L for pgsql-hackers@arkaria.postgresql.org; Wed, 23 Apr 2025 19:56:15 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u7gCc-009fyo-JN for pgsql-hackers@lists.postgresql.org; Wed, 23 Apr 2025 19:56:15 +0000 Received: from mail-qt1-x832.google.com ([2607:f8b0:4864:20::832]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1u7gCY-001aVg-33 for pgsql-hackers@lists.postgresql.org; Wed, 23 Apr 2025 19:56:13 +0000 Received: by mail-qt1-x832.google.com with SMTP id d75a77b69052e-476b89782c3so2794141cf.1 for ; Wed, 23 Apr 2025 12:56:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dunslane-net.20230601.gappssmtp.com; s=20230601; t=1745438169; x=1746042969; darn=lists.postgresql.org; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :references:to:from:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=IZBuMcvm499kdry4m0xS3pOXErWrKWgmPCC3fcNwCrQ=; b=jeNKMoXzYObNE6uTVTzuXeJv4VDJOFitW9XR2qljKCvCh1K1A/8KJx8afs45xceDz7 biZ5NttEZal5426HrYfaOHowpX3vt18ovX/FT3jmvOpkGMyHerpdgCZSYUk/7xAykW/Q JPXCu7OL/id5NmVKU+9tzOTzQ0dAoKAcExi7Sov1cDJGEvKWBvE+si5rY7sETS+H6Fqh F/X39VVf7+C1uFSRuK2BATimeFiwujlVTJJIPUe7+qfAu8YVNE4xjzffTeUXhy7vkR4A uOkbSv/Q8JS+sNYbXpgU0z2C8OZJ4TxMMdL86FAAMWRbjYKpS8hy6fYqv25FypEZSR0g 1yNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745438169; x=1746042969; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :references:to:from:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=IZBuMcvm499kdry4m0xS3pOXErWrKWgmPCC3fcNwCrQ=; b=qXYTmbPkHs4GldOjGXrUDj0ht+ntsymvgVkc8r+UXuSN9s/ChNSCwqBUIJlkEpXQwm F67Wb59T7eGp3wLeWe/taPrwsgnmWt8x/WLtgy+rUYjHrnTJ9j0pgdlpDbCB/5biuJ7b 94Amxec+gz7oIrreUIZb9v2RSQ/PA4P9gZl3vtAd1mTJZIs1ph/OpySM/bLhNg6vBqbB jn5DYWCG9XhwpNkJY/6bkXP0Xzp24X2aDyrtMXvaAiBGX4BiFawszDcXm++msmWNc10b 9Qq0VUxWSKNzfffWx3BJfyt1qc47vBOFUR9gcWhK3vtSqvsyge7yG1HYWbsJKQu9wslT xdTA== X-Gm-Message-State: AOJu0Yx/kh6Lpoe5INgL6RFpQhSy9PtvEHpu18i9BNqmhpgwmaWN6NZ3 Og9S1OURgYMZWc+layWtzLRtdXIOuwzafqfO9e9PmjxugEUIQzYhvcr/Mj5JS22a/Yu9g5K2/xk o X-Gm-Gg: ASbGnctMPLuo2sVDJL2420xzAatRikScdtnhG+mhx2Ok1kCtM7YWCqcLQF83hiAb9vF SPbeKlX2SVazdxqwQrH+VhX7usTWR5RB39GOIa1CaiJTQ1lbSU36bAFyhwzn/6Zb6p7QFG5md2L ted10H2EKlgLC6SLNyaoap6ZaDadWfM3bCMWnNsZ/ruQXU8HVs15I1ZLOUEp3bBzXfIW/gjQXXA Fy8gKx1gv2YcNI8TLQjwpmRbWUT38rh41G5qcL8YCvGnRmJ/6n61Kfo03bYJ03FW9mgywiMAh7I I21gNoc1+6jlSUOCUEeZQHj23o0GuTPzpd7j7vEWdoeG6iC65mo= X-Google-Smtp-Source: AGHT+IEdWZeX2KnJtzGaxcZmEZtqAJTpqunACpgD1V4Fk1Uv9LTMA7ldNBJnEKkmjbt3f8Bi+rdxFg== X-Received: by 2002:a05:6214:27ce:b0:6e4:407c:fcfc with SMTP id 6a1803df08f44-6f4bfbb91a4mr702036d6.4.1745438168685; Wed, 23 Apr 2025 12:56:08 -0700 (PDT) Received: from ?IPV6:2605:a601:a681:6b00::1cb? ([2605:a601:a681:6b00::1cb]) by smtp.googlemail.com with ESMTPSA id 6a1803df08f44-6f2c2af11d7sm74449936d6.6.2025.04.23.12.56.07 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 23 Apr 2025 12:56:08 -0700 (PDT) Message-ID: Date: Wed, 23 Apr 2025 15:56:06 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Cygwin support From: Andrew Dunstan To: PostgreSQL Hackers References: <916d0fd1-a99b-41c4-a017-ff2428bf8cca@dunslane.net> Content-Language: en-US Autocrypt: addr=andrew@dunslane.net; keydata= xsBNBE7KWFkBCAClridxur2AIc7eW2AR7izbfp3EnNefie2HbLF0izW5Ik5UjX2HBXBx4syI gY6b0ugohXrr274+baoAlvSbq6cAoQuEVrk5IZFzt20b1Xkx65FwGSEj526yiKLocqkJceSq Xr9xcA5SGY+FZv441chh5SU92v4q6z+6LPpoHOh97ptAVXZYNTtU0LevyvD5lja0TzbvJm6C eFXitJfnm1pLEr0DGJCR/iUOl/N62Kh4855zZC7NHIjQHPOvV5Stz/l5ilDhvGVk+xkXFPys SjZoUr1rXhYLpi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dpVmpPF8YGBzTIvCz/ fQoOq8AX/pE76QEuFnFZWfjw+wgBXgCVmkox2Eflkk6z4ND3pcwGZ6CfCxTQCDk/dij+2DQ4 6bmDCy/sBgcbz9mTpoLC11HLoPae6YN9nBNQRZDcEFEu54OaVOqlIdbA6m+POIBCXZdHOFc0 WoDTgxHRzC1jgQNidyd6tKqcsVJs0dzF0oKTmFFmUAqTdJO12LBuNA1rlqrR3EtpYk8B/wtS 5dIMD7Q8hwQpL+4C6GNpb6ZKnPkLi47pDOLhz2qBrqN+rqUEsT3YnExYpzj5yOBi+FlmV1Hw 49QYe1sn2ZPs In-Reply-To: <916d0fd1-a99b-41c4-a017-ff2428bf8cca@dunslane.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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