Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1acDJQ-0004Ww-19 for pgsql-hackers@arkaria.postgresql.org; Sat, 05 Mar 2016 14:36:08 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1acDJO-0000se-Dy for pgsql-hackers@arkaria.postgresql.org; Sat, 05 Mar 2016 14:36:06 +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) (envelope-from ) id 1acDI2-0007iK-TS for pgsql-hackers@postgresql.org; Sat, 05 Mar 2016 14:34:43 +0000 Received: from relay2-d.mail.gandi.net ([217.70.183.194]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1acDHv-0004cc-G6 for pgsql-hackers@postgresql.org; Sat, 05 Mar 2016 14:34:41 +0000 Received: from mfilter14-d.gandi.net (mfilter14-d.gandi.net [217.70.178.142]) by relay2-d.mail.gandi.net (Postfix) with ESMTP id A7076C5A54; Sat, 5 Mar 2016 15:34:32 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter14-d.gandi.net Received: from relay2-d.mail.gandi.net ([IPv6:::ffff:217.70.183.194]) by mfilter14-d.gandi.net (mfilter14-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id B8UlbNKVzsmq; Sat, 5 Mar 2016 15:34:31 +0100 (CET) X-Originating-IP: 98.122.164.227 Received: from [192.168.10.146] (unknown [98.122.164.227]) (Authenticated sender: adsend@dunslane.net) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id A4F09C5A50; Sat, 5 Mar 2016 15:34:29 +0100 (CET) Subject: Re: VS 2015 support in src/tools/msvc To: Tom Lane , Michael Paquier References: <56D871CE.8020709@dunslane.net> <56D8B8E3.5070708@2ndquadrant.com> <56DA6394.9040404@2ndquadrant.com> <15559.1457156815@sss.pgh.pa.us> Cc: Petr Jelinek , Magnus Hagander , PostgreSQL mailing lists From: Andrew Dunstan Message-ID: <56DAEE74.3010604@dunslane.net> Date: Sat, 5 Mar 2016 09:34:28 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <15559.1457156815@sss.pgh.pa.us> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) 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/05/2016 12:46 AM, Tom Lane wrote: > Michael Paquier writes: >> On Sat, Mar 5, 2016 at 1:41 PM, Petr Jelinek wrote: >>> I vote for just using sed considering we need flex and bison anyway. >> OK cool, we could go with something else than sed to generate probes.h >> but that seems sensible considering that this should definitely be >> back-patched. Not sure what the others think about adding a new file >> in the source tarball by default though. > AFAIK, sed flex and bison originate from three separate source projects; > there is no reason to suppose that the presence of flex and bison on a > particular system guarantee the presence of sed. I thought the proposal > to get rid of the psed dependence in favor of some more perl code was > pretty sane. Here is a translation into perl of the sed script, courtesy of the s2p incarnation of psed: The sed script appears to have been stable for a long time, so I don't think we need to be too concerned about possibly maintaining two versions. cheers andrew -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers