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 1wJwpO-000REv-0q for pgsql-hackers@arkaria.postgresql.org; Mon, 04 May 2026 17:11:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wJwpM-0089Xp-1W for pgsql-hackers@arkaria.postgresql.org; Mon, 04 May 2026 17:11:28 +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 1wJwpM-0089Xh-0b for pgsql-hackers@lists.postgresql.org; Mon, 04 May 2026 17:11:28 +0000 Received: from mail-oi1-x22c.google.com ([2607:f8b0:4864:20::22c]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wJwpJ-00000000Awp-35MS for pgsql-hackers@lists.postgresql.org; Mon, 04 May 2026 17:11:27 +0000 Received: by mail-oi1-x22c.google.com with SMTP id 5614622812f47-47c918c62b4so1085950b6e.0 for ; Mon, 04 May 2026 10:11:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1777914685; x=1778519485; darn=lists.postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=SCeSkKIaZ6wwkDyd1vwmlzpv0cd8HSSFpc1NPZvwsXY=; b=XxJ0eWX6IRy3IhGZ+ExJBbL9G5P+/EuMFhr4vq0LyMp1IN+nIezUa+XYU3OBooIssi 2wjvvc8KJcmVHf3PYxKL4MaAE5EAZzQECC1w0lEnEamDAzmholPHWccMfuKE2/SOtDpj i1mW9cMF9i/YL8/27fKbzgZULLoFU/Qku6bYycqxcc5vLvTB3EWAOOIzKyUyuIeEqGDc OEIlbl/bsQo1SMvYBokXKjoFw4E9v0SunlQ5+q71slAxxOhXDsbnpNwaYJpvGhTxaez8 011IbsNkjKNmEWfQEMUxazaGOnx23vwITCCZ4DgKqYb6SRUr9FW/EEXcqIQaFw1YXUSg 42xA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777914685; x=1778519485; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SCeSkKIaZ6wwkDyd1vwmlzpv0cd8HSSFpc1NPZvwsXY=; b=TpLz8PNQCzdKZTbaHQfqvG6qs1fyVzqvuuf/CLLbzuc7Fsyl4BvyTEst1hUetR+dGl tk1Q/orV14KBMSgQdFuTrYV+9uiRCZ/gX7hThzc48B6mJoKYAuEcgbTkJprVXKXF92J2 Sj5ZqWn/+2BsT9EEQH0VFN7dP94Kc33UC+TJs6EqQaIxX9OzsilUCxZR32JLeTdgcMKt Cze1v4b1DznZS52Q6Sb47RlTwTVIyeRgCBT76wU6qD2tKfYQN3oQutr+DvlZcNuvfiIi 9dXlW3+985eA9p7wfEm5rYlcpO+L4bYTFVCdDVA7BOG9RwmLtOJMCbAIFzdjTB6AhWI/ U2sQ== X-Forwarded-Encrypted: i=1; AFNElJ+6rD8Yi8uYoP7nuNdXuSZXwQRMuIrM7LMJDug4Q9LfF2eR/3TFRmC9Rfvaz8D+WtVNjmV2BW11Zt4oh/i/@lists.postgresql.org X-Gm-Message-State: AOJu0YxV72tB334i9fygt7k0Cz7zQKZe+86d6OMdP7PTomDJ/wv7Pz3d DFeNRIoE1syD15sD0uZlYD8TtM979OgnHnzkQvhFeR9QBSUZvXaez52wcVR4RA== X-Gm-Gg: AeBDiesVP89Qw3EXTDMqTIwQX/jWblHU9we/no41qaKZLv505a1VIdA3TOacIjXMaFI q7qndAumNJGSbooFq8ZZG57FgOpFDogRXq70F6BMypEr9EQzg+3EMVOHKNkCSu34XU8xJ1KCiY+ 8hisYA1LIMgmciF+xlwDmYU5twaqN7Fv6BiGS0PbxcDLufBE4zkQp9LAgB3dmrCXMUXvVXGL9zR UgJYIKefwZGAJpP8yv4pxrcfgoswmxDW7SpYKApSfB1m7IQQ+LOzJyf/ktDR1HkvayB9zBMJixj j2wAnPbVwOifceenKlXmX1nWF2f/1xM2JFtZmwDNG+ngxVY26Gn7qlpkf+fWeGhoZOKbsDTEeFP n/6Ifs3dPC3B5uzY9S1u9OpjPB84fUGWXwr2mM6Blqvv1IJjqHaPlBgXMZXscFngQQkKeFw7vMq Eg8tnw1KWZ94xTrcpbgiwtj2J5QR13jgfUL6fTZ0/nwcH+k2liYgPCdedMSuEalDJyvUlA+h1vA UqdVMV5eYyuEZKOaSWQeQ5CvVU= X-Received: by 2002:a05:6808:c236:b0:479:d57b:83aa with SMTP id 5614622812f47-47c892aba90mr5907727b6e.36.1777914685595; Mon, 04 May 2026 10:11:25 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 5614622812f47-47c76985f8fsm6986089b6e.14.2026.05.04.10.11.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 May 2026 10:11:25 -0700 (PDT) Date: Mon, 4 May 2026 12:11:23 -0500 From: Nathan Bossart To: Tom Lane Cc: Aleksander Alekseev , PostgreSQL Hackers Subject: Re: [PATCH] pg_bsd_indent: improve formatting of multiline comments Message-ID: References: <7415F7DF-FA45-49E1-AC70-04868714DC8A@gmail.com> <206322.1777912819@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <206322.1777912819@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, May 04, 2026 at 12:40:19PM -0400, Tom Lane wrote: > Another amusing diff I noticed: > > --- a/src/backend/partitioning/partbounds.c > +++ b/src/backend/partitioning/partbounds.c > @@ -5713,7 +5713,7 @@ check_parent_values_in_new_partitions(Relation parent, > * 3. In case new partitions don't contain the DEFAULT partition and the > * partitioned table does not have the DEFAULT partition, the following > * should be true: the sum of the bounds of new partitions should be equal > - & to the bound of the split partition. > + * & to the bound of the split partition. > * > * parent: partitioned table > * splitPartOid: split partition Oid > > Clearly, this is somebody's off-by-one-key typo, and the correct > fix is s/&/*/. I suspect that fixing that manually is the most > expedient answer, rather than trying to make pg_bsd_indent smart > enough to DTRT. +1. This patch has been rather good at finding small mistakes like this, which I've been manually fixing along the way. -- nathan