Re: pgindent - Mailing list pgsql-hackers

From Greg Stark
Subject Re: pgindent
Date
Msg-id BANLkTim=bzWLX=g3Ahm_+zHO1iBNGO3R+w@mail.gmail.com
Whole thread Raw
In response to Re: pgindent  (Bruce Momjian <bruce@momjian.us>)
Responses Re: pgindent  (Greg Stark <gsstark@mit.edu>)
Re: pgindent  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Sun, Apr 10, 2011 at 4:42 PM, Bruce Momjian <bruce@momjian.us> wrote:
> 27 hours later, done.   I ran all the tests outlined in the pgindent
> README.
>

What's with things like:

-void _PG_init(void);
+void       _PG_init(void);

-   Datum diff = DirectFunctionCall2(date_mi,
+   Datum       diff = DirectFunctionCall2(date_mi,
   const TimeADT *aa = (const TimeADT *) a;   const TimeADT *bb = (const TimeADT *) b;
-   Interval      *i;
+   Interval   *i;


Note that in the last one someone carefully made the variable names
line up and pgindent is changing the spacing to an arbitrary amount.

--
greg


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pgindent
Next
From: Greg Stark
Date:
Subject: Re: pgindent