Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCocp-0003zM-Is for pgsql-hackers@arkaria.postgresql.org; Mon, 22 May 2017 14:47:59 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dCocp-0003hF-5p for pgsql-hackers@arkaria.postgresql.org; Mon, 22 May 2017 14:47:59 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dCocn-0003bT-HL for pgsql-hackers@postgresql.org; Mon, 22 May 2017 14:47:57 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dCock-0004UN-SX for pgsql-hackers@postgresql.org; Mon, 22 May 2017 14:47:56 +0000 Received: from pro.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v4MElp7q029401; Mon, 22 May 2017 10:47:51 -0400 From: Tom Lane To: Piotr Stefaniak cc: Alvaro Herrera , Peter Eisentraut , "pgsql-hackers@postgresql.org" Subject: Re: pgindent (was Re: [COMMITTERS] pgsql: Preventive maintenance in advance of pgindent run.) In-reply-to: References: <20170517171600.fyxl3lhseszeuqrx@alvherre.pgsql> <880.1495045872@sss.pgh.pa.us> <5316.1495051919@sss.pgh.pa.us> <11874.1495057567@sss.pgh.pa.us> <15819.1495145176@sss.pgh.pa.us> <51717.1495410614@sss.pgh.pa.us> Comments: In-reply-to Piotr Stefaniak message dated "Mon, 22 May 2017 05:16:17 -0000" Date: Mon, 22 May 2017 10:47:49 -0400 Message-ID: <64818.1495464469@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Piotr Stefaniak writes: > On 2017-05-22 01:50, Tom Lane wrote: >> Being lazy, I just wiped my copy and re-cloned, but it still seems the >> same as before ... last commit on the pass3 branch is from Mar 4. >> What branch should I be paying attention to? > pass3 is the right branch. A fresh clone should have worked as in the > attached log. Ah, I now see that the code did change, I'd just been confused by the "git log" history. Small thought: shouldn't your updated code in pr_comment be changed to - for (t_ptr = e_com + len - 1; t_ptr > e_com; t_ptr--) + for (t_ptr = e_com + len - 1; t_ptr >= e_com; t_ptr--) Perhaps it's impossible for the character right at e_com to be a space, but there seems no need for this loop to assume that. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers