Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aipGB-0004QD-Ez for pgsql-hackers@arkaria.postgresql.org; Wed, 23 Mar 2016 20:20:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1aipGB-0005LU-1F for pgsql-hackers@arkaria.postgresql.org; Wed, 23 Mar 2016 20:20:07 +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 1aipEp-0002bl-7R for pgsql-hackers@postgresql.org; Wed, 23 Mar 2016 20:18:43 +0000 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1aipEl-0001aK-2M for pgsql-hackers@postgresql.org; Wed, 23 Mar 2016 20:18:42 +0000 Received: by mail-wm0-x22c.google.com with SMTP id p65so39031660wmp.0 for ; Wed, 23 Mar 2016 13:18:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=ym0Clj+tgrNI5z+c7PesO1stob/2eKmCGQJxe/oEbXQ=; b=IgGZwCIywGBTPVbthEoJaU+hykHj/AgXSVZzr9KT5HoW7H/yz6rqx9vHTAw8+dWeZd 2tXN5BbcNGblixPsse3HVk93aGrGMgCf73+/qtC14YdozruwUcQ22+XtjqwbxWu4lwDg S6aBzr1tMVOI8m/xE7wawEhiLSLOWQV6vsRi+bwubFZmSmIon9YQeqRjO8PBl9n25zO7 Osu9bWe8RXuTH695ZSB+t3PHInrDy25rkqnLeuueIYbggfyg/9JTbpu/TsNQl/7+x4DR 9+61ZJyJ3h682sceJfLnEBQllTAuKdVYmEB6KTG30VjmrgNjY0JPh7iq+4+uZvkmUsvr x7BA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=ym0Clj+tgrNI5z+c7PesO1stob/2eKmCGQJxe/oEbXQ=; b=KwOzRrgdT/Kz66SoW6iIF+MMuqWr5AhLwlav8nFrlf7llsTtYLGnrc3Byflm0hqxCH WEtcd+bR37Jo9KWDfApTGNsk8PRVIPp9muLLnevSr5vme+JEMAybPIERf8mbWQUCnppc 9iqXH4XBflIjhO/1QDioIYOyH806y9MUbGmMVCYYduRvtnvh+DzXQxNI8Rh+i4dY9hTr QY/0LsnLrd0NcyWrTTBmixbx+/7Srbf0fgC3K0D4vnas6vod16dQsOg9rmRCVuNu+lez uYMCXPN38UTHaUrN1Buhtwp9JsYcAEvA6v4ThRugLNCAk7cC4zLy2MJkrJDUvoSpr3wZ herw== X-Gm-Message-State: AD7BkJIFT6Ka4Wbz71pQsjC2b567UyR2pfhrL0OL69VnnhSmFNEVdrFHHqMSLdgumao+VZp+G5T7oHePymxTZzGqgXjr6lW+/P77rTp6Qvze/AELsD294MlKiv9tvijfuXjHO8yO5j/VH2kwoVSr+2e7d1ufQG31mLZ6jWdH8/+yPtRefJ5GaOUHTbhDD/uE/Q== X-Received: by 10.28.48.136 with SMTP id w130mr29721482wmw.54.1458764317900; Wed, 23 Mar 2016 13:18:37 -0700 (PDT) Received: from [192.168.0.103] (150.123.broadband11.iol.cz. [90.178.123.150]) by smtp.gmail.com with ESMTPSA id j10sm4135803wjb.46.2016.03.23.13.18.36 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 23 Mar 2016 13:18:36 -0700 (PDT) Subject: Re: VS 2015 support in src/tools/msvc To: Michael Paquier References: <56DA6394.9040404@2ndquadrant.com> <15559.1457156815@sss.pgh.pa.us> <56DAEE74.3010604@dunslane.net> <56DB47A5.7040502@dunslane.net> <56DEEF92.4020507@dunslane.net> <9775.1457451803@sss.pgh.pa.us> <56DEF8B6.8070205@dunslane.net> <56EDDB60.4060506@dunslane.net> <56EEEF45.1000708@dunslane.net> <56F281C0.3030107@2ndquadrant.com> Cc: Andrew Dunstan , Tom Lane , Magnus Hagander , PostgreSQL mailing lists From: Petr Jelinek Message-ID: <56F2FA1B.2060403@2ndquadrant.com> Date: Wed, 23 Mar 2016 21:18:35 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.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.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 On 23/03/16 13:05, Michael Paquier wrote: >>>> >>>> OK, the please send an updated set of patches for what remains. >>> >>> >>> Here you go: >>> - 0001 fixes the global declarations of TIMEZONE_GLOBAL and >>> TZNAME_GLOBAL to be WIN32-compliant. I got bitten by that in the ECPG >>> compilation. >>> - 0002, support of VS2015 in the scripts of src/tools/msvc >>> - 0003, this is necessary in order to run the regression tests, >>> details are here: >>> >>> http://www.postgresql.org/message-id/CAB7nPqTDiXxS8CdL8mOiVh6qFQ-1qV9mKN0AyjzYBvzv6WC0dA@mail.gmail.com >> >> So that's basically what Andres did? Interesting that we now actually really >> need it. I was in favor of doing those changes in any case. > > Yes, that's what Andres did. I am just attaching it here to allow > Andrew to test this patch set appropriately. > >>> - 0004 is the fix for locales. This is actually Petr's work upthread, >>> I have updated comments in the code though and did a bit more >>> polishing. This still looks like the cleanest solution we have. Other >>> solutions are mentioned upthread: redeclaration of struct _locale_t in >>> backend code is one. >> >> Thanks for polishing this. >> >> I think this is ready to be committed, but the 0003 might be somewhat >> controversial based on the original thread. > > I thought that the end consensus regarding 0003 was to apply it, but > we could as well wait for the final verdict (committer push) on the > other thread. And well, if this is not applied, some of the gin tests > will complain about "right sibling of GIN page is of different type" a > couple of times. > Hmm I see you are right, I missed the last couple emails. Ok I'll mark it ready for committer - it does work fine on my vs2015 machine and I am happy with the code too. Well, as happy as I can be given the locale mess. -- Petr Jelinek http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, 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