Re: Sync ECPG scanner with core

Поиск
Список
Период
Сортировка
От John Naylor
Тема Re: Sync ECPG scanner with core
Дата
Msg-id CAJVSVGWsLN-ysKZhrAnmt5tkrs1NOKeUM4VuURR9EQUzyfH1-w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Sync ECPG scanner with core  (John Naylor <jcnaylor@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: [RFC] Removing "magic" oids
Следующее
От: Andres Freund
Дата:
Сообщение: Re: [RFC] Removing "magic" oids