Re: Policy on pulling in code from other projects? - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Policy on pulling in code from other projects?
Date
Msg-id CA+TgmoaAvx8yzgWph51jzjxFP8-UEBdzSLCvBY_-roxJZeaUQA@mail.gmail.com
Whole thread Raw
In response to Re: Policy on pulling in code from other projects?  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
List pgsql-hackers
On Fri, Jul 22, 2011 at 2:22 PM, Kevin Grittner
<Kevin.Grittner@wicourts.gov> wrote:
> "Joshua D. Drake" <jd@commandprompt.com> wrote:
>> I personally think you are handwaving if you think we can
>> build out a robust parser in a couple of hours.
>
> I don't think so.  If you have a regular expression engine
> available, you should be able to get there by picking one of these
> and modifying:
>
> http://regexlib.com/DisplayPatterns.aspx?cattabindex=1&categoryId=2

Well, JD is talking about doing this client-side, so I don't think our
regex stuff would be available.  Still, the fact that you can even
write a regex for it means it can't be that hard.  It's usually pretty
darn straightforward to translate a regex into C code.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: Policy on pulling in code from other projects?
Next
From: Dave Page
Date:
Subject: Re: libedit memory stomp is apparently fixed in OS X Lion