Re: ECPG

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
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: ECPG
Date: 2002-09-23 00:48:54
Message-ID: 200209230048.g8N0msJ11895@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> 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?

I think we should just go with the bison beta for ecpg and be done with
it. If we find bugs, we can ask the bison folks to fix it, or work
around it ourselves.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

  • Re: ECPG at 2002-09-22 20:18:23 from Tom Lane

Responses

  • Re: ECPG at 2002-09-23 03:54:35 from Tom Lane

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-09-23 01:31:01 Re: [HACKERS] DROP COLUMN misbehaviour with multiple inheritance
Previous Message Tom Lane 2002-09-22 20:18:23 Re: ECPG