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. +