Re: ECPG - Mailing list pgsql-hackers

From Tom Lane
Subject Re: ECPG
Date
Msg-id 26458.1032725903@sss.pgh.pa.us
Whole thread Raw
In response to ECPG  (Michael Meskes <meskes@postgresql.org>)
Responses Re: ECPG  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: ECPG  (Michael Meskes <meskes@postgresql.org>)
List pgsql-hackers
I had a thought about what to do with the ECPG grammar-too-big problem:
rather than depending on a beta release of bison, we could attack the
problem directly by omitting some of the backend grammar from what ECPG
supports.  Surely there are not many people using ECPG to issue obscure
utility commands like, for example, DROP OPERATOR CLASS.

I haven't tried this to see just how much we'd have to dike out, but
my guess is that we could push the ecpg grammar down to something that
would get through stock bison without omitting anything anyone's even
remotely likely to miss.

This is, of course, an ugly hack that we'd want to undo once more
capable versions of bison are readily available.  But I think it could
tide us over for a release or two.

Comments?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: SIMILAR TO syntax (Was: Re: The TODO List (Was: Re: O...)
Next
From: Bruce Momjian
Date:
Subject: Re: ECPG