Re: pgindent

From: Greg Stark <gsstark(at)mit(dot)edu>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: pgindent
Date: 2011-04-10 15:55:05
Message-ID: BANLkTim=bzWLX=g3Ahm_+zHO1iBNGO3R+w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Apr 10, 2011 at 4:42 PM, Bruce Momjian <bruce(at)momjian(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2011-04-10 15:56:29 Re: pgindent
Previous Message Bruce Momjian 2011-04-10 15:42:32 Re: pgindent