On Tue, May 27, 2008 at 09:44:02AM -0400, Tom Lane wrote:
> If we were going to do that, I'd want it to go all the way and somehow
> generate the common parts of the two .y files from a single source.
> That'd be enough of a step forward that it would be worth whatever
> ugliness is needed to make it happen ...
Any idea how to make this happen? We could of course do it with a lot of
ifdef like sequences:
rule {
IF ECPGCOMPILE
ecpg stuff
ELSE
backend stuff
ENDIF
}
Would you go into this direction?
Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes(at)jabber(dot)org
Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!
In response to
Responses
pgsql-hackers by date
| Next: | From: Decibel! | Date: 2008-06-04 13:18:11 |
| Subject: Re: Overhauling GUCS |
| Previous: | From: Decibel! | Date: 2008-06-04 13:00:49 |
| Subject: Re: Overhauling GUCS |