Re: pgsql: pgindent: preserve blank lines around #else/#endif - Mailing list pgsql-committers

From Alvaro Herrera
Subject Re: pgsql: pgindent: preserve blank lines around #else/#endif
Date
Msg-id 20140213200121.GU6342@eldon.alvh.no-ip.org
Whole thread Raw
In response to Re: pgsql: pgindent: preserve blank lines around #else/#endif  (Bruce Momjian <bruce@momjian.us>)
List pgsql-committers
Bruce Momjian wrote:
> On Thu, Feb 13, 2014 at 03:54:54PM -0300, Alvaro Herrera wrote:
> > Bruce Momjian wrote:
> > > pgindent:  preserve blank lines around #else/#endif
> > >
> > > This requires a new version of pg_bsd_indent, version 1.3, to be
> > > downloaded.
> >
> > This is a bit of a mess.  I now can't use 9.3's pgindent because it
> > wants to have pg_bsd_indent 1.2 installed, but I only have 1.3 because
> > the master branch requested it.
>
> Uh, I never thought people ran pgindent on old branches.  Why would you
> want to do that?

Well, I wanted to make sure that the commit is identically indented in
all branches, and I worked in 9.3 first (rather unusually, I have to
admit.)

> You can certainly use head pgindent on 9.3 and it should output the
> same.

Yeah, it worked, although see my other followup.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pgsql: pgindent: preserve blank lines around #else/#endif
Next
From: Bruce Momjian
Date:
Subject: pgsql: pgcrypto: clarify 'md5' (hash) table entry