Skip site navigation (1) Skip section navigation (2)

Re: keyword list/ecpg

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Michael Meskes <meskes(at)postgresql(dot)org>,PostgreSQL Hacker <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: keyword list/ecpg
Date: 2008-06-04 13:10:12
Message-ID: 20080604131012.GB16909@feivel.credativ.de (view raw or flat)
Thread:
Lists: 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 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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group