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 1sls1z-001fTB-3y for pgsql-hackers@arkaria.postgresql.org; Wed, 04 Sep 2024 15:34:51 +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 1sls1x-00BX1r-MV for pgsql-hackers@arkaria.postgresql.org; Wed, 04 Sep 2024 15:34:50 +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.94.2) (envelope-from ) id 1sls1x-00BX1Q-Cm for pgsql-hackers@lists.postgresql.org; Wed, 04 Sep 2024 15:34:49 +0000 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sls1v-0008DV-96 for pgsql-hackers@lists.postgresql.org; Wed, 04 Sep 2024 15:34:48 +0000 Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-5353cd2fa28so8704637e87.3 for ; Wed, 04 Sep 2024 08:34:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725464086; x=1726068886; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=xs6BNjQCaY9CbTfnm0idlSOS4DxpaHmF4HwAsGJerFc=; b=h8KwONB7lzEoV+3WqBVs7nsgHQfrsBLxdh+kZYCcYA5D9q51D0u98n1tPcIgoSdUk3 AfkfyU9fyddsMo1ySqjJKzzco0QoWXWvDcKyWRjLhHB6RSMa2sH5eA2YKj5vKfPkqFaj X0HYDBZ2NmOVE5VaQxLrDxjOHYkpZb4OdELqg7s9iAhq7Q0xeZ5a0vuXZtgIHCP11s9E eWLoLSiXFBmloGSrg1An6PwRuPkZDNxBrsHoRQiab7WLB3wIyXuxUe+ZoO0hA5VFthok dz7reXyhJ4hOvf2f3iGLxnaAeYJmggyw6jNy783Q/O+1zXnC5CwfZ9Dj1yqsyFfJpq9G LkPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725464086; x=1726068886; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xs6BNjQCaY9CbTfnm0idlSOS4DxpaHmF4HwAsGJerFc=; b=aUh1SGyiOxQUabm+q+U+k2LKS1/n/9xh+WVW3fQVjzLg1/7l74u0sXG9hkf5/RA7v0 oeGfwjHmfpq4mwKepx7LP6EH46zpEO6GYERaz6olZ4NAcjJsN53dqrlmeKuZy0PIBfRY X1Gc2iPnyAMVb+4OxV3GwAtmO7f9KYG4bvqVOE62tgnuqvuo15njv/8zysdlbdGUpRBL ZptWwr28rXO3WJYVlXf2lckCevqjHZagt3zRlUg2RhXwgxtJaWXGaen7lP9iZSs7QLns L0EkiyF0KYKn1bPTaXVnvNYwaLHkKDjTnLwNh32WjKH/WcTEEarYQg60rEXmvRRoG+kP Y8lA== X-Forwarded-Encrypted: i=1; AJvYcCUrVGDHn1u7z5EUEhRHTEHyViNI4H2UdzlFTr73w6G37O6143PKTbyI7eObMjLiLR68LoOML6/OF99a1WSp@lists.postgresql.org X-Gm-Message-State: AOJu0Yz8jGMabgLBothiEL7EUk2LyBU4RPAsyadBxLIGFcS5GGPSP3Gd aaucE4mIxzxfofmpXMELlIyWXbP1HsF55oiUATYC8Gi2BEkje7PkngXVNy42YTIRHmfJdVmvAtX GJ152S1cQi2vj2YVZ98aFNh2efI4= X-Google-Smtp-Source: AGHT+IHIs5lsYGVbLgQYQ2i0AkTyP2vgd9TrbLuTTWJcZs5FuROfU1U+r0vRg1JBSsgf7HuPwoDdCPEJiKyyiBGCc9E= X-Received: by 2002:a05:6512:3da9:b0:52c:dcd4:8953 with SMTP id 2adb3069b0e04-53546b4a1e5mr12379932e87.36.1725464085373; Wed, 04 Sep 2024 08:34:45 -0700 (PDT) MIME-Version: 1.0 References: <15512E98-BDB0-44E3-AAB6-217F322AB5F0@yesql.se> In-Reply-To: <15512E98-BDB0-44E3-AAB6-217F322AB5F0@yesql.se> From: David Rowley Date: Thu, 5 Sep 2024 03:34:31 +1200 Message-ID: Subject: Re: Typos in the code and README To: Daniel Gustafsson Cc: Michael Paquier , Alexander Lakhin , Tom Lane , Robert Haas , Nazir Bilal Yavuz , Heikki Linnakangas , PostgreSQL Developers Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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. 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. 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 ? David