Re: Run pgindent now?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Run pgindent now?
Дата
Msg-id 20150525234107.GO3908@momjian.us
обсуждение исходный текст
Ответ на Re: Run pgindent now?  (Andres Freund <andres@anarazel.de>)
Ответы Re: Run pgindent now?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Tue, May 26, 2015 at 01:15:17AM +0200, Andres Freund wrote:
> On 2015-05-25 19:01:28 -0400, Bruce Momjian wrote:
> > > A longer-term fix would be to make pgindent less stupid about this sort
> > > of usage, but nobody's yet volunteered to dig into the guts of that code.
> > 
> > I assume a typedefs list is going to be a requirement of any decent C
> > indenting tool.
> 
> Maybe I'm missing something major here, but why? Afaict it's just only
> used for formatting decisions that could be made without it just as well?

Uh, well, formatting decisions is what pgindent does.  It is about
identifying variable declarations.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + Everyone has their own god. +



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Run pgindent now?
Следующее
От: Amit Langote
Дата:
Сообщение: Re: Update README.tuplock?