| От | Tom Lane |
|---|---|
| Тема | Re: Select parser at runtime |
| Дата | |
| Msg-id | 16548.997562114@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Select parser at runtime (Ian Lance Taylor <ian@airs.com>) |
| Список | pgsql-hackers |
Ian Lance Taylor <ian@airs.com> writes:
> This patch doesn't actually replace the entire backend/parser
> subdirectory. It mainly only replaces scan.l and gram.y. This is
> because the code in postgres.c still passes the result of the replaced
> parser to pg_analyze_and_rewrite().
Oh, of course, how silly of me. I was thinking that that call did the
analyze step too, but you're correct that it does not. Okay, replacing
lexer+syntaxer is a more reasonable chunk-size. (AFAIK there's no good
way to replace just part of a yacc/bison grammar on the fly, so you
couldn't go to a finer grain anyway, could you?)
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера