Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ftHyn-0001tp-DM for pgsql-hackers@arkaria.postgresql.org; Fri, 24 Aug 2018 19:42:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ftHyl-0006Ig-9i for pgsql-hackers@arkaria.postgresql.org; Fri, 24 Aug 2018 19:42:43 +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.89) (envelope-from ) id 1ftHyk-0006IZ-VT for pgsql-hackers@lists.postgresql.org; Fri, 24 Aug 2018 19:42:43 +0000 Received: from mail-qt0-x242.google.com ([2607:f8b0:400d:c0d::242]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ftHye-0007EE-1y for pgsql-hackers@lists.postgresql.org; Fri, 24 Aug 2018 19:42:41 +0000 Received: by mail-qt0-x242.google.com with SMTP id d4-v6so11391319qtn.13 for ; Fri, 24 Aug 2018 12:42:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=EGSlvMaOtaQfJxTGPMy1VP1B+SIbR0OepOFTem9EJ18=; b=ZMzzabw2astBALC1gylCu3bemul6eFbL4R35K2Yj7BHm2atyFwls+Xx4h5rYJ/nqQP Tg+V32jmxrfPhF0+Ct57vdxI0AXaC2hu+F/MG1P7yoDCT1/xmMUPozcUck8MsHUP8dMc Xjzt4XSqUIB6lhliTBiXSfXFXrHXfMFM3HZ+DF3xBtU4OVkXg8XIJ1hr4+7J7go3KFIZ Ojmj8PuAc0nP+dxjq3rKYQmWqFkVTlxSp06zAVelDp/0uw1ydXwrqeySxu3KZ79TYtr3 +e1jgQsrKM2sRo8+HWyhwiY7TT5VbOdYUH8jT48CSMy4u3QfL1cgr+pozmSsdxz+UNM7 c0kQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=EGSlvMaOtaQfJxTGPMy1VP1B+SIbR0OepOFTem9EJ18=; b=tTdkPyNRnMFCBkrJLWCTCd5CEoY32OfMEWqUikY8LOTrLoTBTih0RKyIpDO1GVFGe5 /frdTX8avVfUtWsrYinHjsbhULswp6tQH6yFwiqP8bVa2LwbhWqjSSBkylReDvBuWJaH 4ORYIFLy8I1Ygg678aNujaUZAvTRkr/YIMCrh8TwRyq1U8WHMaIrTN0L4M49Ej2FPzbt UtwzWUD5oWyAxRBXor/c4uj4uX9wnIXxauUIIkNCGXetpqZzn/s/EQNJmCRjxt/jdRg0 f/wwSw5IpoGRDIUzRzU+yuzqWRou3F2aUmZ1+vkPhARdG+UeroOqOhIF0X+zxYIoDk89 65ng== X-Gm-Message-State: APzg51DwAztBs5VRAZSilsaHLk3/wxQ3ncu8P0jGa8VHemYaZOaG9303 osx/QBaeiTVGppOlKDnfPPe7 X-Google-Smtp-Source: ANB0VdbVnArUB9kDiqU5+4jl3Opgx19SeYDp0Q9fR7I47Tp+7lYa8mNZgJXbOSQurxl/JzHdftMGEg== X-Received: by 2002:ac8:2a13:: with SMTP id k19-v6mr3307674qtk.245.1535139754923; Fri, 24 Aug 2018 12:42:34 -0700 (PDT) Received: from [192.168.10.146] ([98.122.175.38]) by smtp.gmail.com with ESMTPSA id y47-v6sm5325388qtk.27.2018.08.24.12.42.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Aug 2018 12:42:34 -0700 (PDT) From: Andrew Dunstan X-Google-Original-From: Andrew Dunstan Subject: Re: Windows vs C99 (was Re: C99 compliance for src/port/snprintf.c) To: Tom Lane , Andres Freund Cc: Sandeep Thakkar , Peter Eisentraut , "Joshua D. Drake" , Thomas Munro , David Steele , PostgreSQL Hackers , Craig Ringer References: <303572b3-89a5-6177-d46a-e23b2b4d6caa@2ndQuadrant.com> <20180821232952.ixj6kgccoqcjp5gf@alap3.anarazel.de> <20180822120211.prl6uxspai4lahfs@alap3.anarazel.de> <20180823000905.fjthfohmczss4fiw@alap3.anarazel.de> <20180823013134.3h4j62eeiaibpgvo@alap3.anarazel.de> <20180824014434.qourppnik7bmsib6@alap3.anarazel.de> <20180824154623.i32aryx4bzfa4gxu@alap3.anarazel.de> <20180824181255.wsuuw273hykwk3w4@alap3.anarazel.de> <22941.1535135908@sss.pgh.pa.us> Message-ID: <5bb44bb8-d70f-118d-e2e5-901359eb0d41@2ndQuadrant.com> Date: Fri, 24 Aug 2018 15:42:33 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <22941.1535135908@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-MW List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 08/24/2018 02:38 PM, Tom Lane wrote: > Andres Freund writes: >> On 2018-08-24 14:09:09 -0400, Andrew Dunstan wrote: >>> However, we only support VS2017 down to 9.6 and Vs2015 down to 9.5. Perhaps >>> we should consider backpatching support for those down to 9.3. >> Hm, I have no strong objections to that. I don't think it's strictly >> necessary, given 2013 is supported across the board, but for the non MSVC >> world, we do fix compiler issues in older branches. There's not that >> much code for the newer versions afaict? > +1 for taking a look at how big a patch it would be. But I kind of > thought we'd intentionally rejected back-patching some of those changes > to begin with, so I'm not sure the end decision will change. The VS2017 patch applies cleanly to 9.5, so that seems easy. The VS2015 patch from 9.5 needs a very small amount of adjustment by the look of it for 9.3 and 9.4, after which I hope the VS2017 patch would again apply cleanly. I'll try to put this together. The trouble with not back patching support to all live branches as new versions come in is that it acts as a significant discouragement to buildfarm owners to use the latest Visual Studio versions. I've never argued stringly on this point before, but I think i'm goiung to ber inclined to in future. Meanwhile, I will turn bowerbird back on but just for >= 9.6 for now. cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services