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

From Mike Aubury
Subject Re: keyword list/ecpg
Date
Msg-id 200806131553.03313.mike.aubury@aubit.com
Whole thread Raw
In response to Re: keyword list/ecpg  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: keyword list/ecpg  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
The same as happens at the moment - nothing...

The grammer for the ecpg needs to be re-generated when the grammer in the main 
parser is changed -  whether its a manual or (mostly) automatic task is 
largely irrelevant.

The only downside is that if its not regenerated then the change to gram.y 
simply wont be reflected in the grammer for ecpg. 

I personally think its down to the ecpg developers (of which I believe Michael 
is the main developer) to decide when to do this and to check that its 
worked. 

Its just otherwise - there could be a serious case for 'unintended 
consequences'...

Just my 2 pence worth...


On Friday 13 June 2008 15:39:48 Alvaro Herrera wrote:
> > I personally would stongly favour
> > the script being a tool for ecpg tool developers and not used as part of
> > a normal installation.
>
> What happens when a non-Michael developer changes the original gram.y?
> Is he expected to run the script before committing too?  That sounds
> brittle to me.
>


-- 
Mike Aubury

http://www.aubit.com/
Aubit Computing Ltd is registered in England and Wales, Number: 3112827
Registered Address : Clayton House,59 Piccadilly,Manchester,M1 2AQ





pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: keyword list/ecpg
Next
From: Tom Lane
Date:
Subject: Re: keyword list/ecpg