Re: keyword list/ecpg

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: keyword list/ecpg
Дата
Msg-id 20080613152722.GB2793@feivel.credativ.de
обсуждение исходный текст
Ответ на Re: keyword list/ecpg  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
On Fri, Jun 13, 2008 at 10:39:48AM -0400, Alvaro Herrera wrote:
> 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.

The situation used to be that this only caused ecpg to be out-of-sync.
No big deal. But nowadays it might break compilation. If you add a new
keyword to keywords.c but not to preproc.y you'll get an undefined
symbol during build process. 

To make sure stuff like this cannot happen in the future I'd prefer to
have the script run automatically, albeit having a defined, but maybe
non-functional, default. 

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@jabber.org
Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Meskes
Дата:
Сообщение: Re: keyword list/ecpg
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_stat_statements