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

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Noah Misch <noah(at)leadboat(dot)com>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Re: [COMMITTERS] pgsql: Run pgindent on 9.2 source tree in preparation for first 9.3
Date: 2012-06-16 03:20:19
Message-ID: 20120616032019.GD26006@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Fri, Jun 15, 2012 at 10:48:27PM -0400, Tom Lane wrote:
> Bruce Momjian <bruce(at)momjian(dot)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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2012-06-16 03:49:23 Re: [COMMITTERS] pgsql: New SQL functons pg_backup_in_progress() and pg_backup_start_tim
Previous Message Bruce Momjian 2012-06-16 02:50:15 pgsql: In pgindent, suppress reading the perltidy RC file using --nopro

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2012-06-16 03:37:08 Re: libpq compression
Previous Message Magnus Hagander 2012-06-16 03:18:54 Re: Backup docs