Thread: gram.y=>preproc.y II

gram.y=>preproc.y II

From
Michael Meskes
Date:
Okay, here's my next version for you to look at/try. This versions needs NO
@ECPG commands in gram.y anymore. I found other ways to tell the script when to
do what. What still needs to be done is beautifying the script (I don't like
all those static declarations) and removing the remaining changes to gram.y.
There are only two left (variable handling on quite some places and
prepared_name twice).

Michael

--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!

Attachment

Re: gram.y=>preproc.y II

From
Tom Lane
Date:
Michael Meskes <meskes@postgresql.org> writes:
> ... What still needs to be done is beautifying the script (I don't like
> all those static declarations) and removing the remaining changes to gram.y.
> There are only two left (variable handling on quite some places and
> prepared_name twice). 

Adding a new production prepared_name for names of prepared statements
doesn't bother me, if you have a need for that.  But please get rid of
those renamings of Sconst and Iconst ...
        regards, tom lane