pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Piotr Stefaniak <postgres@piotr-stefaniak.me>
To: Bruce Momjian <bruce@momjian.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: pgindent (was Re: [COMMITTERS] pgsql: Preventive maintenance in advance of pgindent run.)
Date: Wed, 14 Jun 2017 18:15:04 +0000
Message-ID: <VI1PR03MB119982AC7F7D5E7F78F245C8F2C30@VI1PR03MB1199.eurprd03.prod.outlook.com> (raw)
In-Reply-To: <20170614150551.GC4750@momjian.us>
References: <VI1PR03MB119987EDC3126CD6A56CF29CF2E40@VI1PR03MB1199.eurprd03.prod.outlook.com>
	<15819.1495145176@sss.pgh.pa.us>
	<VI1PR03MB1199E65EFAE1C1EE8E02D040F2FB0@VI1PR03MB1199.eurprd03.prod.outlook.com>
	<51717.1495410614@sss.pgh.pa.us>
	<VI1PR03MB119959F4B65F000CA7CD9F6BF2CC0@VI1PR03MB1199.eurprd03.prod.outlook.com>
	<24365.1497370969@sss.pgh.pa.us>
	<29276.1497385419@sss.pgh.pa.us>
	<VI1PR03MB11994C5BB7B21EEF96DBF84AF2C20@VI1PR03MB1199.eurprd03.prod.outlook.com>
	<31422.1497388681@sss.pgh.pa.us>
	<22160.1497451120@sss.pgh.pa.us>
	<20170614150551.GC4750@momjian.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 2017-06-14 17:05, Bruce Momjian wrote:
> On Wed, Jun 14, 2017 at 10:38:40AM -0400, Tom Lane wrote:
>> btw, I was slightly amused to notice that this version still calls itself
>>
>> $ indent -V
>> pg_bsd_indent 1.3
>>
>> Don't know what you plan to do with that program name, but we certainly
>> need a version number bump so that pgindent can tell that it's got an
>> up-to-date copy.  1.4?  2.0?
> 
> For Piotr's reference, we will update src/tools/pgindent/pgindent to
> match whatever new version number you use.

I would like to go a bit further than that. I see that GNU indent
doesn't recognize -V, but prints its version if you use the option
--version. I wish to implement the same option for FreeBSD indent, but
that would force a change in how pgindent recognizes indent.

As for the version bump, I briefly considered "9.7.0", but 2.0 seems
more appropriate as the 2 would reflect the fundamental changes that
I've done and the .0 would indicate that it's still rough around edges.

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


view thread (37+ messages)  latest in thread

Message-ID: <VI1PR03MB119982AC7F7D5E7F78F245C8F2C30@VI1PR03MB1199.eurprd03.prod.outlook.com>
Permalink:  ../VI1PR03MB119982AC7F7D5E7F78F245C8F2C30@VI1PR03MB1199.eurprd03.prod.outlook.com/
Also on:    postgresql.org/message-id/VI1PR03MB119982AC7F7D5E7F78F245C8F2C30@VI1PR03MB1199.eurprd03.prod.outlook.com

 · 

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-committers@postgresql.org
  Cc: postgres@piotr-stefaniak.me, bruce@momjian.us, tgl@sss.pgh.pa.us, alvherre@2ndquadrant.com, peter.eisentraut@2ndquadrant.com, pgsql-hackers@postgresql.org
  Subject: Re: pgindent (was Re: [COMMITTERS] pgsql: Preventive maintenance in advance of pgindent run.)
  In-Reply-To: <VI1PR03MB119982AC7F7D5E7F78F245C8F2C30@VI1PR03MB1199.eurprd03.prod.outlook.com>
  References: <VI1PR03MB119987EDC3126CD6A56CF29CF2E40@VI1PR03MB1199.eurprd03.prod.outlook.com> <15819.1495145176@sss.pgh.pa.us> <VI1PR03MB1199E65EFAE1C1EE8E02D040F2FB0@VI1PR03MB1199.eurprd03.prod.outlook.com> <51717.1495410614@sss.pgh.pa.us> <VI1PR03MB119959F4B65F000CA7CD9F6BF2CC0@VI1PR03MB1199.eurprd03.prod.outlook.com> <24365.1497370969@sss.pgh.pa.us> <29276.1497385419@sss.pgh.pa.us> <VI1PR03MB11994C5BB7B21EEF96DBF84AF2C20@VI1PR03MB1199.eurprd03.prod.outlook.com> <31422.1497388681@sss.pgh.pa.us> <22160.1497451120@sss.pgh.pa.us> <20170614150551.GC4750@momjian.us> <VI1PR03MB119982AC7F7D5E7F78F245C8F2C30@VI1PR03MB1199.eurprd03.prod.outlook.com>

* 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