Re: pgindent run coming - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pgindent run coming
Date
Msg-id 9862.1244901479@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgindent run coming  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Peter Eisentraut wrote:
>> On Wednesday 10 June 2009 23:54:41 Tom Lane wrote:
>>> At a quick look, I'm not sure that any of these are in code that hasn't
>>> been edited since the 8.3 pgindent run.
>> 
>> So what does that mean then?  Surely pgindent doesn't keep track of what has
>> been edited when?

> If the code has been edited since the last pgindent run, then pgindent 
> hasn't had a chance to adjust it, no?

Right.  Those extra spaces all represent manual editing sloppiness.

I have not done a complete check, but I looked at the first couple of
examples you cited and verified that pgindent did remove those spaces.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: pgindent run coming
Next
From: Tom Lane
Date:
Subject: Re: some of the datatypes only support hashing, while others only support sorting