Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cqh2F-000398-2X for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Mar 2017 14:14:47 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cqh2E-00046Q-LP for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Mar 2017 14:14:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cqh0j-0000eZ-5R for pgsql-hackers@postgresql.org; Wed, 22 Mar 2017 14:13:13 +0000 Received: from mail-qt0-x22e.google.com ([2607:f8b0:400d:c0d::22e]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cqh0g-00067i-4B for pgsql-hackers@postgresql.org; Wed, 22 Mar 2017 14:13:12 +0000 Received: by mail-qt0-x22e.google.com with SMTP id r45so153691370qte.3 for ; Wed, 22 Mar 2017 07:13:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=P6KU/iVrA5+/vGkWY8UeBcaZOMvTlC+Iogq0Koq+G/g=; b=pGPIHceNj7YmvWq9ip3txYyMgSLY+hgKDyFpkuICFiKBUzOXpDAnMnbNvmdbwgsQDu mk5QLTUSof/3O7/gH4p6ycleCRh2jUTa5lih7WRANI9WjlxUpvi5aY9htfns3S2jp1pt QfIWcndXn+wZaNPC00lBFwQ/nKss8iEX9b5+SGOeQh++WGgK1pC74V8Z508OM+Ktaqjr Zi0Cxz5SGt99Hhr7Ei/8cs3Y2d5Q8tEA2bXFAu+e8FpVrqjX2og4FZOwBpzVhArm8HdY eeqM78Z0o7umGKPbdRqwbGS3DaAeXuwoKgOPne9fuBD+nafiI0rIp8fbARdXTKkycHlh FfVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=P6KU/iVrA5+/vGkWY8UeBcaZOMvTlC+Iogq0Koq+G/g=; b=YUQV2jQIUGZyjrWjtrMyJ0o362i6dV+LZS3/BmLWSDhc35BfOPGjuAs8eX+Msj02tb Tys0hbp0bA6FLL+1FFm8gmu2E3uuDBvoEKn4Zli0pX0HB5c3lcPj7N/OOI8BrtDZYNL2 Fgxz+bnzcrw89ibPKRf54JNjmu3PSJ+6ydpnXpEMzbI0TQO5nC90NyqBWBh+EhNBxOC/ pb1ruG0MP0nsmNts807uttV1jLikWewmV8ReDWZGMQWPwOebykymGwL3hKKYAzLArskn +bLDG959+WdO/MO8M35IO3HcyJjn29AVnSMmgr7nXDOsN5Wl1YJ+K4jfYpBPE/CsnE6p xpBg== X-Gm-Message-State: AFeK/H3/viCjuankFSTsl7FYIc+b4Xd2fS7LJr0LE5uJLrt35BW1Qawx7yRQiOkHx/18XUX1 X-Received: by 10.237.37.121 with SMTP id w54mr40840686qtc.14.1490191987963; Wed, 22 Mar 2017 07:13:07 -0700 (PDT) Received: from alvin.alvh.no-ip.org ([190.217.208.245]) by smtp.gmail.com with ESMTPSA id o41sm1060766qto.3.2017.03.22.07.13.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Mar 2017 07:13:07 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id F33A068F; Wed, 22 Mar 2017 11:13:05 -0300 (CLST) Date: Wed, 22 Mar 2017 11:13:05 -0300 From: Alvaro Herrera To: Heikki Linnakangas Cc: Tom Lane , Dave Page , pgsql-hackers@postgresql.org, "Tsunakawa, Takayuki" Subject: Re: Re: [COMMITTERS] pgsql: Fix and simplify check for whether we're running as Windows serv Message-ID: <20170322141305.bgxctu22pqnirtgu@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20170206-195-7adf12 (1.7.2) X-Pg-Spam-Score: -2.6 (--) 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 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. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers