| От | Juan Pablo Espino |
|---|---|
| Тема | Understanding Rule System |
| Дата | |
| Msg-id | 3e7daec10505111410123df1d7@mail.gmail.com обсуждение исходный текст |
| Ответы |
Re: Understanding Rule System
|
| Список | pgsql-hackers |
Hello all
I have been studying the rule system in Postgres. I understand that
the original query tree is the input at the rewrite, and then this
query tree is modified by the rewrite in case that there is a rule.
SQL query ----> Parser ----> Rewrite ----> Planner ----> Executor ^^^^ ^^^^
Query New Query tree tree
I would like to know how the rewrite detects that a rule in a table
exists, and if it possible you indicate me where in the source code
it's implemented. Any comments are welcome, thanks in advance.
Juan P. Espino
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера