Re: Run pgindent now?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Run pgindent now?
Дата
Msg-id 5296.1432307372@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Run pgindent now?  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: Run pgindent now?  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> Robert Haas wrote:
>> On Tue, May 19, 2015 at 10:26 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>> To do it before every minor release would require re-indenting HEAD
>>> as well (since the whole point is to keep HEAD and the back branches
>>> consistent).  I think we'd get too much push-back from developers
>>> whose pending patches got broken.  We can get away with reindenting
>>> HEAD between development cycles, but probably not more often than that.

>> I'm not convinced of that.  If we did it more often, it might actually
>> be less disruptive.

> I believe it's possible to mechanically rebase a patch over an indent
> run of the underlying branch with half a dozen commands or less.  +1 for
> reindenting all branches before each minor release, FWIW.

Yeah?  Can you show an example?
        regards, tom lane



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Run pgindent now?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Add a hint when postgresql.conf hot_standby = 'off' and recovery.conf standby = 'on'