Re: pgindent run?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgindent run?
Дата
Msg-id 14628.1516822447@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgindent run?  (Andres Freund <andres@anarazel.de>)
Ответы Re: pgindent run?
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> FWIW, I think this problem could just as well be addressed with a few
> printing heuristics instead of actually needing an actual list of
> typedefs.

Step right up and implement that, and we'd all be happier.  Certainly
the typedefs list is a pain in the rear.

> There'd be one or two edge cases of bad formatting, but the
> end result would be far less painful than what we have today, were
> basically nobody can format their patches without a lot of manual
> cherry-picking or large scale unrelated whitespace changes.

IMO, the big problem here is that people commit large changes without
having pgindent'd them first.

            regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Add parallel-aware hash joins.
Следующее
От: Andres Freund
Дата:
Сообщение: Re: pgindent run?