pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: pgindent run next week?
Date: Fri, 17 May 2019 15:10:18 -0400
Message-ID: <18624.1558120218@sss.pgh.pa.us> (raw)
In-Reply-To: <20190517181130.h3nycw5h3pi2fl3c@alap3.anarazel.de>
References: <16296.1558103386@sss.pgh.pa.us>
	<20190517172700.bqb4oytgng4tshvm@alap3.anarazel.de>
	<1485.1558115222@sss.pgh.pa.us>
	<20190517181130.h3nycw5h3pi2fl3c@alap3.anarazel.de>

Andres Freund <andres@anarazel.de> writes:
> On 2019-05-17 13:47:02 -0400, Tom Lane wrote:
>> I dunno, how far back are you thinking?  I've occasionally wished we
>> could reindent all the back branches to match HEAD, but realistically,
>> people carrying out-of-tree patches would scream.

> I somehow thought we'd backpatched pgindent changes before, around when
> moving to the newer version of indent. But I think we might just have
> discussed that, and then didn't go for it...

Yeah, we talked about it but never actually did it.

> Not sure if a three-way merge wouldn't take care of many, but not all,
> the out-of-tree patch concerns.

I was wondering about "patch --ignore-whitespace" myself.  In theory,
to the extent that our recent rounds of pgindent fixes just change
indentation, that would be able to cope (most of the time anyway).
But I don't think I'd want to just assume that without testing.

Anybody around here got large patches they're carrying against
back branches, that they could try reapplying after running
a newer version of pgindent?

			regards, tom lane





view thread (15+ messages)  latest in thread

Message-ID: <18624.1558120218@sss.pgh.pa.us>
Permalink:  ../18624.1558120218@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18624.1558120218@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andres@anarazel.de
  Subject: Re: pgindent run next week?
  In-Reply-To: <18624.1558120218@sss.pgh.pa.us>
  References: <16296.1558103386@sss.pgh.pa.us> <20190517172700.bqb4oytgng4tshvm@alap3.anarazel.de> <1485.1558115222@sss.pgh.pa.us> <20190517181130.h3nycw5h3pi2fl3c@alap3.anarazel.de> <18624.1558120218@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox