Re: keyword list/ecpg - Mailing list pgsql-hackers

From Michael Meskes
Subject Re: keyword list/ecpg
Date
Msg-id 20080604131012.GB16909@feivel.credativ.de
Whole thread Raw
In response to Re: keyword list/ecpg  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: keyword list/ecpg  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
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 ECPGCOMPILEecpg stuff
ELSEbackend 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@jabber.org
Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!


pgsql-hackers by date:

Previous
From: Decibel!
Date:
Subject: Re: Overhauling GUCS
Next
From: Decibel!
Date:
Subject: Re: Overhauling GUCS