pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Petr Jelinek <petr@2ndquadrant.com>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: PostgreSQL mailing lists <pgsql-hackers@postgresql.org>
Subject: Re: VS 2015 support in src/tools/msvc
Date: Sat, 5 Mar 2016 09:34:28 -0500
Message-ID: <56DAEE74.3010604@dunslane.net> (raw)
In-Reply-To: <15559.1457156815@sss.pgh.pa.us>
References: <CAB7nPqTTcRGbDxS_RA4CWn1B_KRsvN+FTpct0mTp3v3gRWQ70g@mail.gmail.com>
	<56D871CE.8020709@dunslane.net>
	<CABUevEwJrjKqrJ=XWyDgnAzUBvBbFrf=RLHvaaXqQOUSkrmaLQ@mail.gmail.com>
	<56D8B8E3.5070708@2ndquadrant.com>
	<CAB7nPqQzNsRChCxRZt3O1jWMRtPYJO3ibHZ2eVgJBOEpp4aTYQ@mail.gmail.com>
	<CAB7nPqRL+kuZ8dq6P3WXv-b0-0LAwTxecnaLnvBn4ah7PSbWsQ@mail.gmail.com>
	<CAB7nPqT8mfN6GoRt4WcNh8WiK==sSh3VkVonRFMzOi6oXefTQw@mail.gmail.com>
	<56DA6394.9040404@2ndquadrant.com>
	<CAB7nPqQfoNWGnXjTCf8ZuRtcz0D0fHpE43haoy3CHYgJVf1oDg@mail.gmail.com>
	<15559.1457156815@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>



On 03/05/2016 12:46 AM, Tom Lane wrote:
> Michael Paquier <michael.paquier@gmail.com> writes:
>> On Sat, Mar 5, 2016 at 1:41 PM, Petr Jelinek <petr@2ndquadrant.com> 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: 
<https://gist.github.com/adunstan/d61b1261a4b91496bdc6; 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



view thread (134+ messages)  latest in thread

Message-ID: <56DAEE74.3010604@dunslane.net>
Permalink:  ../56DAEE74.3010604@dunslane.net/
Also on:    postgresql.org/message-id/56DAEE74.3010604@dunslane.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: andrew@dunslane.net, tgl@sss.pgh.pa.us, michael.paquier@gmail.com, petr@2ndquadrant.com, magnus@hagander.net
  Subject: Re: VS 2015 support in src/tools/msvc
  In-Reply-To: <56DAEE74.3010604@dunslane.net>
  References: <CAB7nPqTTcRGbDxS_RA4CWn1B_KRsvN+FTpct0mTp3v3gRWQ70g@mail.gmail.com> <56D871CE.8020709@dunslane.net> <CABUevEwJrjKqrJ=XWyDgnAzUBvBbFrf=RLHvaaXqQOUSkrmaLQ@mail.gmail.com> <56D8B8E3.5070708@2ndquadrant.com> <CAB7nPqQzNsRChCxRZt3O1jWMRtPYJO3ibHZ2eVgJBOEpp4aTYQ@mail.gmail.com> <CAB7nPqRL+kuZ8dq6P3WXv-b0-0LAwTxecnaLnvBn4ah7PSbWsQ@mail.gmail.com> <CAB7nPqT8mfN6GoRt4WcNh8WiK==sSh3VkVonRFMzOi6oXefTQw@mail.gmail.com> <56DA6394.9040404@2ndquadrant.com> <CAB7nPqQfoNWGnXjTCf8ZuRtcz0D0fHpE43haoy3CHYgJVf1oDg@mail.gmail.com> <15559.1457156815@sss.pgh.pa.us> <56DAEE74.3010604@dunslane.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox