Re: pgindent does a pretty awful job with function-pointer typedefs - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: pgindent does a pretty awful job with function-pointer typedefs
Date
Msg-id 200901091740.n09He3P18094@momjian.us
Whole thread Raw
In response to pgindent does a pretty awful job with function-pointer typedefs  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> I wonder if this can be improved:
> http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/optimizer/planner.h.diff?r1=1.41;r2=1.42
> 
> Similar examples can be found elsewhere ...

Agreed, pgindent does a poor job aligning function pointers.  I rerand
planner.h here --- 'planner_hook_type' is defined as a typedef to BSD
indent, but the alignment is clearly off, but I can't figure out how to
improve it.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Maintaining patchset with GIT (was Re: Hot standby, RestoreBkpBlocks and cleanup locks)
Next
From: Bruce Momjian
Date:
Subject: Re: Improving compressibility of WAL files