Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1crMhv-0007dz-UU for pgsql-hackers@arkaria.postgresql.org; Fri, 24 Mar 2017 10:44:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1crMhv-0001Gm-BN for pgsql-hackers@arkaria.postgresql.org; Fri, 24 Mar 2017 10:44:35 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1crMht-0001FL-MH for pgsql-hackers@postgresql.org; Fri, 24 Mar 2017 10:44:33 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1crMhq-0003E0-Mx; Fri, 24 Mar 2017 10:44:32 +0000 Received: by mail-wm0-x244.google.com with SMTP id n11so2427904wma.0; Fri, 24 Mar 2017 03:44:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=BttxKE4/iCvCLIXgRiYjy3pkQNRwSwsGPG2pS0aElqc=; b=KXB2fyz3R01NDe7rRNT6nrIrnmIWoli5/qRep7PRPn4VdgbWwv34XHsdgwq5B4g29V VUgXeeY6tlY7u5HE1TgLvFEPxhUi+YfqwrL4q5LJ3C83IQcgYzvl+MqzyLnLpzvJUDfH TPmn6MDcWzXhyH7vZZHJWR6aQAM1uA95BCtenqwMp1MoqGrx/UmylGPkEL+ACMhTShLi WZetpHzlEFbkRqDs2ixOi4ijJG/vGfzE2FMkPMl96kuV+vyj1sPyP3/JcQrw0C1rksEk obdFUCG8pcuO9xh/3BLe21BPzJDw+n+Cqr0JqPcjnvzWWGuBBnGuFh1+saUIkHksixz4 YzkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=BttxKE4/iCvCLIXgRiYjy3pkQNRwSwsGPG2pS0aElqc=; b=GL1zgB3iDe45MR3atzb7unjSwRiq74im28aHtO0ojfAVHFE9wrt3wzFWGOPT0JlIXm o6Y9Cdj6WdMpAKs2jeBdjbr0g3F1wYNiQ50S6RTkIzGjiSthM3URF90VJcGT2kmQLl9l QN1HCpoNAyWCYmwyYLeCbQ6gM/pVWWzyjChih7uD30OoO95nJ02D6haJPdogG4LauDuR P4t5Wjv6qtjNFrnHTiyg81XunZWpDkWedNnLNuZUJPi0TpIXLvluc11vncZVc2jpjY2s 1GMjHHF+KbLxwI/6Zm0W7MBrWaowRp6Bj0qwVaBC8vM/aC54R/0d/nE2xdlfv0TRH3QH 2bug== X-Gm-Message-State: AFeK/H0aF43Q4vVtEksca8FKPBUGv2q7MdjA0X7iZE5lA5NHbgt7b3R2ZRIXfMGDVia0Wg== X-Received: by 10.28.227.213 with SMTP id a204mr2126303wmh.120.1490352268715; Fri, 24 Mar 2017 03:44:28 -0700 (PDT) Received: from [192.168.1.99] (dsl-hkibrasgw1-50df7f-241.dhcp.inet.fi. [80.223.127.241]) by smtp.gmail.com with ESMTPSA id e16sm2359300wra.62.2017.03.24.03.44.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Mar 2017 03:44:27 -0700 (PDT) Subject: Re: Re: [COMMITTERS] pgsql: Fix and simplify check for whether we're running as Windows serv To: Robert Haas , Alvaro Herrera References: <20170322141305.bgxctu22pqnirtgu@alvherre.pgsql> Cc: Tom Lane , Dave Page , "pgsql-hackers@postgresql.org" , "Tsunakawa, Takayuki" From: Heikki Linnakangas Message-ID: <3b6c4613-798b-72aa-3f7e-319f783324f7@iki.fi> Date: Fri, 24 Mar 2017 12:44:24 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.4 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 03/22/2017 07:44 PM, Robert Haas wrote: > On Wed, Mar 22, 2017 at 10:13 AM, Alvaro Herrera > wrote: >> Heikki Linnakangas wrote: >>> I did some archeology, and found CheckTokenMembership() in MinGW's w32api >>> packages version 3.14 >>> (https://sourceforge.net/projects/mingw/files/MinGW/Base/w32api/w32api-3.14/, >>> in include/winbase.h). According to the timestamps on that download page, >>> that was released in 2009. That was the oldest version I could find, so it >>> might go even further back. >>> >>> Dave, do you know exactly what version of MinGW narwhal is running? And how >>> difficult is it to upgrade to something slightly more modern? Ease of >>> upgrade is another good data point on how far we need to support old >>> versions. >> >> Given that this was backpatched and that it broke narwhal in all >> branches, I think the solution needs to make narwhal work again without >> requiring it to upgrade; so we should acquire CheckTokenMembership via >> dynloading just like we do the other functions. If we want to require a >> newer mingw version in pg10, that's acceptable, but it should be a >> separate patch. > > +1 for not moving the minimum system requirements in the back-branches. Ok. I reverted this patch in the back-branches, and applied the much less invasive "V2" patch [1] instead. HEAD is unchanged, so narwhal still fails there. Dave: the consensus is that we no longer support the old version of MinGW that narwhal is using, for PostgreSQL v 10. Can you modify the configuration of narwhal to not try building 'master' anymore, or upgrade the toolchain, please? [1] https://www.postgresql.org/message-id/CAB7nPqSvfu%3DKpJ%3DNX%2BYAHmgAmQdzA7N5h31BjzXeMgczhGCC%2BQ%40mail.gmail.com - Heikki -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers