Re: More pgindent bizarreness

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: More pgindent bizarreness
Date: 2004-09-30 20:25:56
Message-ID: 200409302025.i8UKPuV00694@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Matthew T. O'Connor 2004-09-30 20:29:23 Re: CREATE INDEX speeds up query on 31 row table ...
Previous Message Joshua D. Drake 2004-09-30 20:24:51 Bug in Beta3 with parser?