Re: [HACKERS] parser changes

From: Michael Meskes <meskes(at)postgreSQL(dot)org>
To: PostgreSQL Hacker <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] parser changes
Date: 2000-02-16 16:34:27
Message-ID: 20000216173427.A2337@fam-meskes.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Feb 16, 2000 at 10:07:06AM -0500, Tom Lane wrote:
> ...
> Aside from the work involved, the major problem with any of these
> approaches is that practically any change in or around the backend's
> gram.y would instantly break ecpg; backend and ecpg source would

That means everyone who changes gram.y nowadays would then have to change
the corresponding ecpg function as well. Nice idea. :-)

> there will be much enthusiasm for it among the backend developers.

I'm afraid you're right on this one.

> Still, it seems like you might want to think about building some
> kind of tool to help you with keeping the files in sync. For example,
> it'd probably be easier to diff ecpg and backend grammar files if
> you made a script that just strips out the action parts.

It's not that difficult to read and apply a context diff by hand. After all
the changes are mostly moderately.

michael
--
Michael Meskes | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz | Go Rhein Fire!
Tel.: (+49) 2431/72651 | Use Debian GNU/Linux!
Email: Michael(at)Fam-Meskes(dot)De | Use PostgreSQL!

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-02-16 16:39:48 Re: [HACKERS] psql compile problems
Previous Message Michael Meskes 2000-02-16 16:16:34 DESCRIPTORS