Re: [HACKERS] parser changes

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: [HACKERS] parser changes
Дата
Msg-id 20000216081204.A1592@fam-meskes.de
обсуждение исходный текст
Ответ на Re: [HACKERS] parser changes  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [HACKERS] parser changes  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Wed, Feb 16, 2000 at 01:26:22AM -0500, Tom Lane wrote:
> >> Do you have a pretty good way to track changes in gram.y? Let me know
> >> if you want some help (though I won't be able to for a week or so).

Right now I'm up-to-date. But I have yet to finish my own todo for 7.0.

> > I told him to keep a copy of the gram.y he uses, and merge changes from
> > the current version against the copy he has that matched the current
> > ecpg.

That's exactly how I do it. I run diff from time to tim and add the changes
to my version by hand.

> It seems to me that this whole business of tracking a hand-maintained
> modified copy of gram.y is wrong.  There ought to be a way for ecpg to
> just incorporate the backend grammar by reference, plus a few rules
> on top for ecpg-specific constructs.

I would love this. But frankly I don't see how we can accomblish this. After
all ECPG has to print out the statment word by word while the backend puts
it into internal structure.

> It's probably too late to do anything in this line for 7.0, but
> I suggest we think about it for future releases.

Any ideas anyone?

Michael
-- 
Michael Meskes                         | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz    | Go Rhein Fire!
Tel.: (+49) 2431/72651                 | Use Debian GNU/Linux!
Email: Michael@Fam-Meskes.De           | Use PostgreSQL!


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

Предыдущее
От: Michael Meskes
Дата:
Сообщение: Re: [HACKERS] function question yet again
Следующее
От: Chris
Дата:
Сообщение: Re: [HACKERS] Interbase