Re: Re: [COMMITTERS] pgsql: Run pgindent on 9.2 source tree in preparation for first 9.3 - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Re: [COMMITTERS] pgsql: Run pgindent on 9.2 source tree in preparation for first 9.3
Date
Msg-id 20120616032019.GD26006@momjian.us
Whole thread Raw
In response to Re: Re: [COMMITTERS] pgsql: Run pgindent on 9.2 source tree in preparation for first 9.3  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Fri, Jun 15, 2012 at 10:48:27PM -0400, Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > OK, based on this feedback, I have updated the pgindent README to use
> > these Perl indent instructions:
> 
> >         find . -name \*.pl -o -name \*.pm | xargs perltidy \
> >         --backup-and-modify-in-place --opening-brace-on-new-line \
> >         --vertical-tightness=2 --vertical-tightness-closing=2 \
> >         --nospace-after-keyword=for --nospace-for-semicolon \
> >         --add-whitespace --delete-old-whitespace --paren-tightness=2 \
> >         --keep-old-blank-lines=2 --maximum-line-length=78 \
> >         --entab-leading-whitespace=4 --output-line-ending=unix
> 
> > Unless I hear otherwise, I will run this new command on the 9.2 and HEAD
> > Perl files.
> 
> No idea what all that stuff does.  Would it be reasonable to post a diff
> showing what this would do to the files in question?

Sure:
http://momjian.us/expire/perl.diff

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Backup docs
Next
From: Magnus Hagander
Date:
Subject: Re: libpq compression