Re: [HACKERS] Running pgindent
| От | Thomas G. Lockhart |
|---|---|
| Тема | Re: [HACKERS] Running pgindent |
| Дата | |
| Msg-id | 34EC5097.156A687D@alumni.caltech.edu обсуждение исходный текст |
| Ответ на | Running pgindent (Bruce Momjian <maillist@candle.pha.pa.us>) |
| Ответы |
Re: [HACKERS] Running pgindent
|
| Список | pgsql-hackers |
Bruce Momjian wrote:
> I want to run pgindent before the final release. Who has outstanding
> patches they are sitting on that would be affected by this? Only places
> where we have added non-conforming code would be affected.
Ack! Can you make at least three changes to pgindent before doing this?
1) for functions which look like
datetime *
abstime_datetime(int4 x)
{
...
do not put a tab (or extra spaces) between "datetime" and "*".
For the end of functions which look like
...
} /* abstime_datetime() */
do not put any tabs (or just one) between the "{" and the comment.
Also, some comments get wrapped to the next line, making some ugly sources;
perhaps pgindent should not touch comment lines at all? Or at least keep
things on the same line, messing with the tabbing only??
В списке pgsql-hackers по дате отправления: