Re: pgindent behavior we could do without

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgindent behavior we could do without
Дата
Msg-id 32497.1391143471@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgindent behavior we could do without  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: pgindent behavior we could do without  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> OK, seven hours later, I have fixed pg_bsd_indent to no longer insert
> blank lines above #elif/#else/#endif, and therefore removed the special
> case code from pgindent.

> You will need to download version 1.3 of pg_bsd_indent for this to work,
> and pgindent will complain if it doesn't find the right pg_bsd_indent
> version.

Cool.

> Do we need to go an clean up any places where pgindent has suppressed
> blank lines above #elif/#else/#endif in the past?

Not sure it's worth making a massive change for this, but I appreciate the
fact that pgindent won't mess up such code in the future.
        regards, tom lane



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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: Review: tests for client programs
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Making strxfrm() blobs in indexes work