Re: [COMMITTERS] pgsql: pgindent run for 9.4

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Kevin Grittner <kgrittn(at)ymail(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Michael Meskes <meskes(at)postgresql(dot)org>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] pgsql: pgindent run for 9.4
Date: 2014-05-06 22:19:58
Message-ID: 20140506221958.GL30817@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Tue, May 6, 2014 at 05:35:15PM -0400, Tom Lane wrote:
> Bruce Momjian <bruce(at)momjian(dot)us> writes:
> > Ah, found it. There is an excludes pattern file list I had forgotten
> > about; it has:
>
> > /s_lock\.h$
> > /ecpg/test/expected/
> > /snowball/libstemmer/
> > /ecpg/include/(sqlda|sqltypes)\.h$
> > /ecpg/include/preproc/struct\.h$
> > /pl/plperl/ppport\.h$
>
> Ah, so you've been excluding some of the ecpg/include/ header files but
> not sqlca.h.
>
> > I am thinking I should back out the tab/comment changes in those files
> > in the back branches, though I would then need to adjust the ecpg
> > regression tests. In practice, these files are rarely patched, so it
> > might be fine to just leave them alone.
>
> No, let's not back them out. The real question here is why sqlca.h is
> treated differently from those other three. At least in HEAD, I'd be
> inclined to pgindent all of ecpg/include/ and just deal with any ensuing
> test fallout. As long as updating the expected files is part of your
> pgindent procedure, why not?
>
> IOW, I get the reasons for those other exclusions:
>
> s_lock.h: lots of inline ASM which pgindent doesn't deal well with
> /snowball/libstemmer/: upstream code not maintained by us
> ppport.h: ditto
>
> But I don't see the reason why we shouldn't expect ecpg's headers to
> conform to our layout rules.

I don't know who ecpg got in there. Let me know what you would like
done.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2014-05-06 22:24:47 Re: [COMMITTERS] pgsql: pgindent run for 9.4
Previous Message Simon Riggs 2014-05-06 21:51:57 pgsql: pg_basebackup streaming: adjust version check msg

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-05-06 22:20:53 Re: default opclass for jsonb (was Re: Call for GIST/GIN/SP-GIST opclass documentation)
Previous Message Simon Riggs 2014-05-06 22:15:17 Re: proposal: Set effective_cache_size to greater of .conf value, shared_buffers