Re: Fixed a typo in comment in compress_lz4.c - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Fixed a typo in comment in compress_lz4.c
Date
Msg-id aO2MKJRoC7DSSlEt@paquier.xyz
Whole thread Raw
In response to Re: Fixed a typo in comment in compress_lz4.c  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Fixed a typo in comment in compress_lz4.c
List pgsql-hackers
On Mon, Oct 13, 2025 at 06:08:43PM -0400, Tom Lane wrote:
> I disagree that it's not widely known.  OneLook Dictionary Search [1]
> defines it correctly as "Usually means: If and only if; equivalence"
> and reports finding it in 35 of their underlying dictionaries,
> including all the usual suspects.  (Some of the 35 know the military
> term "IFF: Identification Friend or Foe" rather than what we're
> after, but still that's plenty of hits.)
>
> I wonder whether adding it to our glossary would be helpful.

I think it would, it's not the first time somebody is confused by
this abbreviation.  At least we would have an official reference in
the tree to be able to point to, and this term is used even by
non-native English-speaking committers (like myself) in comments,
sometimes.

(French has a version of that: "si et seulement si" or "ssi", that
I've used and seen a lot, bit only when dealing with theory in maths
or physics.)
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: POC: enable logical decoding when wal_level = 'replica' without a server restart
Next
From: Michael Paquier
Date:
Subject: Re: Incorrect version number given to sync_pgdata() in pg_combinebackup.c