Re: Thoughts on using Text::Template for our autogenerated code?

Поиск
Список
Период
Сортировка
От John Naylor
Тема Re: Thoughts on using Text::Template for our autogenerated code?
Дата
Msg-id CAFBsxsEkVF98JcND+5hh8RQf1KOYRzjFFD0PC=fkR7EZMtEuhA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Thoughts on using Text::Template for our autogenerated code?  (Corey Huinker <corey.huinker@gmail.com>)
Список pgsql-hackers

On Fri, Mar 31, 2023 at 4:15 AM Corey Huinker <corey.huinker@gmail.com> wrote:
> For those who already responded, are your concerns limited to the dependency issue? Would you have concerns about a templating library that was developed by us and included in-tree? 

Libraries (and abstractions in general) require some mental effort to interface with them (that also means debugging when the output fails to match expectations), not to mention maintenance cost. There has to be a compensating benefit in return. The cost-to-benefit ratio here seems unfavorable -- seems like inventing a machine that ties shoelaces, but we usually wear sandals.

--
John Naylor
EDB: http://www.enterprisedb.com

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

Предыдущее
От: Peter Smith
Дата:
Сообщение: Re: Data is copied twice when specifying both child and parent table in publication
Следующее
От: David Rowley
Дата:
Сообщение: Re: Option to not use ringbuffer in VACUUM, using it in failsafe mode