Re: Upgrading our minimum required flex version for 8.5

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Upgrading our minimum required flex version for 8.5
Дата
Msg-id 4A4CC5B9.5070303@dunslane.net
обсуждение исходный текст
Ответ на Upgrading our minimum required flex version for 8.5  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Upgrading our minimum required flex version for 8.5  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

Tom Lane wrote:
> I'd like to return to the project I suggested here:
> http://archives.postgresql.org/message-id/18653.1239741426@sss.pgh.pa.us
> of getting rid of plpgsql's private lexer and having it use the core
> lexer instead.  This will require making the core lexer re-entrant,
> which is not possible with our oldest supported version of flex
> (2.5.4a).  A look at the flex change history indicates that %reentrant
> was added in 2.5.6 but nasty bugs were being fixed up to 2.5.30;
> so the new minimum supported version would probably be 2.5.33
> (2.5.31 was kinda broken for other reasons, and there was no 2.5.32).
>
> Since 2.5.33 is now over three years old, this does not seem like an
> onerous requirement, but I thought I'd better ask if anyone has an
> objection?
>
>             
>   



I think it would need to be benchmarked. My faint recollection is that 
the re-entrant lexers are slower.

cheers

andrew


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Hans-Juergen Schoenig -- PostgreSQL
Дата:
Сообщение: tsvector extraction patch
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Upgrading our minimum required flex version for 8.5