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.94.2) (envelope-from ) id 1smVUC-006Jng-Qr for pgsql-hackers@arkaria.postgresql.org; Fri, 06 Sep 2024 09:42:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1smVUB-00B7jg-Cv for pgsql-hackers@arkaria.postgresql.org; Fri, 06 Sep 2024 09:42:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1smVUA-00B7jY-Vb for pgsql-hackers@lists.postgresql.org; Fri, 06 Sep 2024 09:42:35 +0000 Received: from smtp.outgoing.loopia.se ([93.188.3.37]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1smVU8-000Qdj-VJ for pgsql-hackers@lists.postgresql.org; Fri, 06 Sep 2024 09:42:34 +0000 Received: from s807.loopia.se (localhost [127.0.0.1]) by s807.loopia.se (Postfix) with ESMTP id 0280DCD2F3 for ; Fri, 06 Sep 2024 11:42:32 +0200 (CEST) Received: from s899.loopia.se (unknown [172.22.191.5]) by s807.loopia.se (Postfix) with ESMTP id E2396CC1EE; Fri, 06 Sep 2024 11:42:31 +0200 (CEST) Received: from s470.loopia.se (unknown [172.22.191.6]) by s899.loopia.se (Postfix) with ESMTP id DEB9D2C8BA61; Fri, 06 Sep 2024 11:42:31 +0200 (CEST) X-Virus-Scanned: amavisd-new at amavis.loopia.se X-Spam-Flag: NO X-Spam-Score: -1.2 X-Spam-Level: X-Spam-Status: No, score=-1.2 tagged_above=-999 required=6.2 tests=[ALL_TRUSTED=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1] autolearn=disabled Authentication-Results: s470.loopia.se (amavisd-new); dkim=pass (2048-bit key) header.d=yesql.se Received: from s979.loopia.se ([172.22.191.6]) by s470.loopia.se (s470.loopia.se [172.22.190.34]) (amavisd-new, port 10024) with LMTP id WjxsGJaXkt6e; Fri, 6 Sep 2024 11:42:31 +0200 (CEST) X-Loopia-Auth: user X-Loopia-User: daniel@yesql.se X-Loopia-Originating-IP: 89.255.232.193 Received: from smtpclient.apple (customer-89-255-232-193.stosn.net [89.255.232.193]) (Authenticated sender: daniel@yesql.se) by s979.loopia.se (Postfix) with ESMTPSA id 272A410BC40D; Fri, 06 Sep 2024 11:42:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yesql.se; s=loopiadkim1707475645; t=1725615751; bh=zZ4SNmJTwhFf6GjWnqxdECLisMqZ2yoHdTApaOFQkPE=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=iO/l8a+IFfs+IMoc2xTXxIERdh9wCfbXALDttUrmzv8OW6X5gf/GNc2GvLjDdo2YN jqBG4AlnVReylB/jpXl2Io8K6y9XSiNeAf+O/cg4dVAntFnxU3CTji8F0h7siXSG98 wbjjDCFyLfIV8NRcMa2PrLcb5NsNLlrYlWmYjN2+YRZ9xBJiQsTqQPTaCZOhNMnvzO OwmgrMbhh1aiHJ0ZNbVajtEyYOV4f3czLmz+5VQvM0pWNqjqM8nJkBAiK4ufj0PXpY ZxlcILouPfnAYfu0bdPDqD2Wai2O2qY3eUJVlWR1MkNyZCQMd7dV+GwOADFlquyyxR 2h+LPXWlSoyRg== Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\)) Subject: Re: Typos in the code and README From: Daniel Gustafsson In-Reply-To: Date: Fri, 6 Sep 2024 11:42:20 +0200 Cc: Michael Paquier , Alexander Lakhin , Tom Lane , Robert Haas , Nazir Bilal Yavuz , Heikki Linnakangas , PostgreSQL Developers Content-Transfer-Encoding: quoted-printable Message-Id: <408C2CC2-DAC4-4633-AC85-968F3DDA9973@yesql.se> References: <15512E98-BDB0-44E3-AAB6-217F322AB5F0@yesql.se> To: David Rowley X-Mailer: Apple Mail (2.3774.600.62) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On 4 Sep 2024, at 17:34, David Rowley wrote: >=20 > On Wed, 4 Sept 2024 at 20:24, Daniel Gustafsson = wrote: >> Not mandatory at all, but since you were prepping a typo backpatch = anyways I >> figured these could join to put a small dent in reducing risks for = future >> backports. >=20 > I think this is pretty good logic. I think fixing comment typos in > ancient code and backpatching to all supported versions isn't good use > of time, but fixing a typo in "recent" code and backpatching to where > that code was added seems useful. Newer code is more likely to need > bug fixes in the future, so going to a bit more effort to make > backpatching those bug fixes easier seems worth the effort. Absolutely agree. > I just don't know what "recent" should be defined as. I'd say if it's = in a > version we've not released yet, that's probably recent. By the time .1 > is out, there's less chance of bugs in new code. Anyway, I doubt hard > guidelines are warranted here, but maybe some hints about best > practices in https://wiki.postgresql.org/wiki/Committing_checklist ? That sounds like a good idea. Off the cuff I would agree that = unreleased versions and .0 versions are strong candidates (but not mandatory) for = trivial backpatches like typos, beyond that the value is likely to be lower. -- Daniel Gustafsson