pgindent (was Re: [COMMITTERS] pgsql: Preventive maintenance in advance of pgindent run.)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: pgindent (was Re: [COMMITTERS] pgsql: Preventive maintenance in advance of pgindent run.)
Date: 2017-05-17 17:35:22
Message-ID: 31047.1495042522@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> writes:
> We have someone who has studied the BSD indent code and even sent us
> patches to fix quite a few bugs, but we've largely ignored his efforts
> so far. I propose we take that indent as part of our repo, and patch it
> to our preferences.

Messing with pgindent didn't seem all that high-priority while we were
in development mode, and it would also have been pretty painful to have
a pgindent that wanted to revisit settled decisions when you just wanted
it to fix new code. Maybe now (ie, over the next few weeks) is a good
time to pursue it, before we start a new round of code development.

Not sure about actually incorporating it into our repo. Doing so would
make it easier for people to use, for sure, and the license seems to be
regular 3-clause BSD, so that angle is OK. But do we want to be carrying
around another 150K of source code?

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2017-05-17 18:05:32 Re: [COMMITTERS] pgsql: Preventive maintenance in advance of pgindent run.
Previous Message Alvaro Herrera 2017-05-17 17:16:00 Re: [COMMITTERS] pgsql: Preventive maintenance in advance of pgindent run.

Browse pgsql-hackers by date

  From Date Subject
Next Message Tels 2017-05-17 17:52:49 Re: [bug fix] PG10: libpq doesn't connect to alternative hosts when some errors occur
Previous Message Stephen Frost 2017-05-17 17:27:12 Re: [bug fix] PG10: libpq doesn't connect to alternative hosts when some errors occur