Re: More pgindent bizarreness - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: More pgindent bizarreness
Date
Msg-id 200409302025.i8UKPuV00694@candle.pha.pa.us
Whole thread Raw
In response to More pgindent bizarreness  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: More pgindent bizarreness
List pgsql-hackers
Tom Lane wrote:
> I noticed that pgindent is doing weird things with function pointer
> declarations; see for example what it did with AnalyzeAttrFetchFunc
> and compute_stats in src/include/commands/vacuum.h.  I don't recall
> that it was doing this before the latest run.

Or do you mean here?
typedef Datum (*AnalyzeAttrFetchFunc) (VacAttrStatsP stats, int rownum,
 bool *isNull);
 
I do see -TAnalyzeAttrFetchFunc as a flag in pgindent so it knows is it
is a typdef.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Bug in Beta3 with parser?
Next
From: "Matthew T. O'Connor"
Date:
Subject: Re: CREATE INDEX speeds up query on 31 row table ...