Re: autogenerating headers & bki stuff

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: autogenerating headers & bki stuff
Дата
Msg-id 20090811211838.GF16362@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: autogenerating headers & bki stuff  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut escribió:
> On Tuesday 30 June 2009 06:59:51 Robert Haas wrote:
> > The attached patch merges all of the logic currently in genbki.sh and
> > Gen_fmgrtab.{sh,pl} into a single script called gen_catalog.pl
> 
> I can't really convince myself to like this change.  I think there is some 
> merit that these scripts are separate.  I'm not sure what the combined script 
> buys us except that it is a lot bigger and does everything at once instead of 
> in two or three steps.

Maybe we can move forward in little steps.  For example it would be
excellent to have the schemapg.h file autogenerated instead of having to
edit two copies of those definitions.

I'm not sure that it buys us a lot to have all those things in a single
script.  Why not have a script to generate schemapg.h, another one to
generate the bki stuff, another one to generate the fmgrtab header?
They don't seem to share a lot of code anyway (and even if they do,
surely we can add a .pm module containing common code).

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: "Hot standby"?
Следующее
От: Robert Haas
Дата:
Сообщение: Re: autogenerating headers & bki stuff