Re: [PATCHES] Double Backslash example patch

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCHES] Double Backslash example patch
Дата
Msg-id 8692.1071684455@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCHES] Double Backslash example patch  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: [PATCHES] Double Backslash example patch  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> I see that psql/mainloop.c contains this comment:
>  * FIXME: rewrite this whole thing with flex
> Is now the time to do that?

If you feel like giving it a shot, ain't nobody gonna stand in your way.
MainLoop() is well past the level of unmaintainability IMHO (which is
why I'd not tried to touch it in the original quick patch).

I'm not totally convinced that flex can do the job, but in any case a
ground-up redesign for legibility might be the only cure.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [BUGS] pg_service.conf ignores dbname parameter
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: [PATCHES] Double Backslash example patch