Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCRcR-0005e4-Kq for pgsql-hackers@arkaria.postgresql.org; Sun, 21 May 2017 14:14:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dCRcR-0004Dx-3l for pgsql-hackers@arkaria.postgresql.org; Sun, 21 May 2017 14:14:03 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dCRav-0001V2-05 for pgsql-hackers@postgresql.org; Sun, 21 May 2017 14:12:29 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dCRar-0003R4-Li for pgsql-hackers@postgresql.org; Sun, 21 May 2017 14:12:28 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v4LECKWo031644; Sun, 21 May 2017 10:12:20 -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> <28060.1495161064@sss.pgh.pa.us> <322.1495328415@sss.pgh.pa.us> Comments: In-reply-to Piotr Stefaniak message dated "Sun, 21 May 2017 05:36:31 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <31642.1495375940.1@sss.pgh.pa.us> Date: Sun, 21 May 2017 10:12:20 -0400 Message-ID: <31643.1495375940@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-21 03:00, Tom Lane wrote: >> I wrote: >>> Also, I found two places where an overlength comment line is simply busted >>> altogether --- notice that a character is missing at the split point: >> I found the cause of that: you need to apply this patch: > I have been analyzing this and came to different conclusions. Well, the code as it stands breaks those two comments (and a third one I'd failed to notice before). With the patch I propose, the only changes are that those comments are left unmolested. So even aside from the fact that this code is visibly unsafe, it does correspond to the symptom. 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