Re: Run pgindent now? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Run pgindent now?
Date
Msg-id 20150525234107.GO3908@momjian.us
Whole thread Raw
In response to Re: Run pgindent now?  (Andres Freund <andres@anarazel.de>)
Responses Re: Run pgindent now?  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Andres Freund
Date:
Subject: Re: Run pgindent now?
Next
From: Amit Langote
Date:
Subject: Re: Update README.tuplock?