pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Gustafsson <daniel@yesql.se>
To: David Rowley <dgrowleyml@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Alexander Lakhin <exclusion@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Nazir Bilal Yavuz <byavuz81@gmail.com>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Subject: Re: Typos in the code and README
Date: Fri, 6 Sep 2024 11:42:20 +0200
Message-ID: <408C2CC2-DAC4-4633-AC85-968F3DDA9973@yesql.se> (raw)
In-Reply-To: <CAApHDvohP80M6CLocGM_ycoM2tcTWBQu0i9_eKdgeyRQmn9bKQ@mail.gmail.com>
References: <CAApHDvq-2Zdqytm_Hf3RmVf0qg5PS9jTFAJ5QTc9xH9pwvwDTA@mail.gmail.com>
	<CAApHDvr3zgeb+2cQTsbyRcV2ZkjeMiHyDXYSWB5z71WwSyxwDA@mail.gmail.com>
	<ae9f2fcb-4b24-5bb0-4240-efbbbd944ca1@gmail.com>
	<CAApHDvq7chgw8=7TU4-hLpQNw8e7qN9_oA4ew2UH05RCcihEDQ@mail.gmail.com>
	<c1d63754-cb85-2d8a-8409-bde2c4d2d04b@gmail.com>
	<CAApHDvoYsiFkZpjWeLGejibAXi=T3B70MzFr7z-1EiJ4pVX2hA@mail.gmail.com>
	<f7e514cf-2446-21f1-a5d2-8c089a6e2168@gmail.com>
	<ZtadkEfXje7zvOs4@paquier.xyz>
	<Ztaj7BkN4658OMxF@paquier.xyz>
	<D240643D-7D6A-49EB-BA69-D6B784B4F237@yesql.se>
	<Zte2_cC1x7IW5_Ez@paquier.xyz>
	<15512E98-BDB0-44E3-AAB6-217F322AB5F0@yesql.se>
	<CAApHDvohP80M6CLocGM_ycoM2tcTWBQu0i9_eKdgeyRQmn9bKQ@mail.gmail.com>

> On 4 Sep 2024, at 17:34, David Rowley <dgrowleyml@gmail.com> wrote:
> 
> On Wed, 4 Sept 2024 at 20:24, Daniel Gustafsson <daniel@yesql.se> 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.

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






view thread (55+ messages)  latest in thread

Message-ID: <408C2CC2-DAC4-4633-AC85-968F3DDA9973@yesql.se>
Permalink:  ../408C2CC2-DAC4-4633-AC85-968F3DDA9973@yesql.se/
Also on:    postgresql.org/message-id/408C2CC2-DAC4-4633-AC85-968F3DDA9973@yesql.se

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: daniel@yesql.se, dgrowleyml@gmail.com, michael@paquier.xyz, exclusion@gmail.com, tgl@sss.pgh.pa.us, robertmhaas@gmail.com, byavuz81@gmail.com, hlinnaka@iki.fi
  Subject: Re: Typos in the code and README
  In-Reply-To: <408C2CC2-DAC4-4633-AC85-968F3DDA9973@yesql.se>
  References: <CAApHDvq-2Zdqytm_Hf3RmVf0qg5PS9jTFAJ5QTc9xH9pwvwDTA@mail.gmail.com> <CAApHDvr3zgeb+2cQTsbyRcV2ZkjeMiHyDXYSWB5z71WwSyxwDA@mail.gmail.com> <ae9f2fcb-4b24-5bb0-4240-efbbbd944ca1@gmail.com> <CAApHDvq7chgw8=7TU4-hLpQNw8e7qN9_oA4ew2UH05RCcihEDQ@mail.gmail.com> <c1d63754-cb85-2d8a-8409-bde2c4d2d04b@gmail.com> <CAApHDvoYsiFkZpjWeLGejibAXi=T3B70MzFr7z-1EiJ4pVX2hA@mail.gmail.com> <f7e514cf-2446-21f1-a5d2-8c089a6e2168@gmail.com> <ZtadkEfXje7zvOs4@paquier.xyz> <Ztaj7BkN4658OMxF@paquier.xyz> <D240643D-7D6A-49EB-BA69-D6B784B4F237@yesql.se> <Zte2_cC1x7IW5_Ez@paquier.xyz> <15512E98-BDB0-44E3-AAB6-217F322AB5F0@yesql.se> <CAApHDvohP80M6CLocGM_ycoM2tcTWBQu0i9_eKdgeyRQmn9bKQ@mail.gmail.com> <408C2CC2-DAC4-4633-AC85-968F3DDA9973@yesql.se>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox