Re: Doubt in parser
| От | Alvaro Herrera |
|---|---|
| Тема | Re: Doubt in parser |
| Дата | |
| Msg-id | 20060216133913.GC4307@surnet.cl обсуждение исходный текст |
| Ответ на | Doubt in parser (Dhanaraj <Dhanaraj.M@Sun.COM>) |
| Список | pgsql-hackers |
Dhanaraj wrote: > hi > > currently i looking at the postgres src code. I saw the scanner and > parser implemetations at two different places (src/backend/parser/ and > /src/bakend/bootstrp). Can anybody tell me the purpose of having two > phases?? or will this help to parse the queries at different levels? The bootstrap parser is using only in bootstrap mode, which is when the template1 database is initially created. It has a completely different syntax than the main parser. If what you are looking for is to implement a new command or modify an existing one, ignore the bootstrap parser. -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.
В списке pgsql-hackers по дате отправления: