Re: psql source suggestions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: psql source suggestions
Дата
Msg-id 10392.1045111091@sss.pgh.pa.us
обсуждение исходный текст
Ответ на psql source suggestions  ("Jeroen T. Vermeulen" <jtv@xs4all.nl>)
Список pgsql-hackers
"Jeroen T. Vermeulen" <jtv@xs4all.nl> writes:
> I've been playing around with the source for psql, and as a result I
> did some cleaning up in common.c.  Would anyone be interested in seeing
> patches for that?  The main benefit is some eliminated code duplication,
> plus the removal of some warts like 'continue' and 'break' where they
> weren't needed.

Sure, send it along to pgsql-patches.  Code beautification is a
worthwhile goal that we spend far too little time on.

Of course, beauty is in the eye of the beholder, so there may not be
universal agreement that you made improvements ;-).  But send 'em along
and then we can debate the point.
        regards, tom lane


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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: loading libraries on Postmaster startup
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: log_duration