Re: Sync ECPG scanner with core - Mailing list pgsql-hackers

From John Naylor
Subject Re: Sync ECPG scanner with core
Date
Msg-id CAJVSVGWsLN-ysKZhrAnmt5tkrs1NOKeUM4VuURR9EQUzyfH1-w@mail.gmail.com
Whole thread Raw
In response to Re: Sync ECPG scanner with core  (John Naylor <jcnaylor@gmail.com>)
List pgsql-hackers
I wrote:

> On 11/14/18, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Alvaro Herrera <alvherre@2ndquadrant.com> writes:
>>> Maybe time to compile the ecpg test cases during "make check-world"?
>>
>> I'm dubious that the lexer is a significant part of that, though I could
>> be wrong ...
>
> If it were, it'd be much easier to try a Flex flag other than the
> default, most compact representation, something like -Cfe. That'd be a
> prerequisite for no-backtracking to matter anyway. That's easy enough
> to test, so I'll volunteer to do that sometime.

The preproc phase of make check in the ecpg dir only takes 150ms.
Compiling and linking the test executables takes another 2s, and
running the tests takes another 5s on my machine. Even without setting
up and tearing down the temp instance, preproc is trivial.

-John Naylor


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: [RFC] Removing "magic" oids
Next
From: Andres Freund
Date:
Subject: Re: [RFC] Removing "magic" oids