Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wMTiS-0007eY-1P for pgsql-hackers@arkaria.postgresql.org; Mon, 11 May 2026 16:42:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wMTiQ-001f1i-2E for pgsql-hackers@arkaria.postgresql.org; Mon, 11 May 2026 16:42:46 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wMTiQ-001f1Z-1L for pgsql-hackers@lists.postgresql.org; Mon, 11 May 2026 16:42:46 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wMTiN-000000004L4-1TNL for pgsql-hackers@lists.postgresql.org; Mon, 11 May 2026 16:42:45 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.18.1/8.18.1) with ESMTP id 64BGgeML2152954; Mon, 11 May 2026 12:42:40 -0400 From: Tom Lane To: =?utf-8?Q?=C3=81lvaro?= Herrera cc: solaimurugan vellaipandiyan , Aleksander Alekseev , Payal Singh , pgsql-hackers@lists.postgresql.org Subject: Re: Review - Patch for pg_bsd_indent: improve formatting of multiline comments In-reply-to: References: Comments: In-reply-to =?utf-8?Q?=C3=81lvaro?= Herrera message dated "Mon, 11 May 2026 17:50:41 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2152952.1778517760.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 11 May 2026 12:42:40 -0400 Message-ID: <2152953.1778517760@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk =3D?utf-8?Q?=3DC3=3D81lvaro?=3D Herrera writes: > Just passing by, but I think this comment should be handled manually as > well, as I doubt we want it to end up this way: Hmmm ... yeah, probably. In isolation the diff had looked all right to me, but it would probably make more sense to keep this comment aligned with the surrounding code. I'm thinking like } /*----- * limit (sum(1/i^2),i=3D1,inf) =3D pi^2/6 * resj =3D sum(wi/i^2),i=3D1,noccurrence, * wi - should be sorted desc, * don't sort for now, just choose maximum weight. * This should be corrected * Oleg Bartunov */ res =3D res + (wjm + resj - wjm / ((jm + 1) * (jm + 1))) / 1.6= 4493406685; > (Not that I understand what this is trying to tell me, mind) Me either :-( regards, tom lane