Re: pgindent does a pretty awful job with function-pointer typedefs

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pgindent does a pretty awful job with function-pointer typedefs
Дата
Msg-id 200901091740.n09He3P18094@momjian.us
обсуждение исходный текст
Ответ на pgindent does a pretty awful job with function-pointer typedefs  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Maintaining patchset with GIT (was Re: Hot standby, RestoreBkpBlocks and cleanup locks)
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Improving compressibility of WAL files