> On Oct 14, 2025, at 05:31, Daniel Gustafsson <[email protected]> wrote:
>
>> On 13 Oct 2025, at 23:25, Chao Li <[email protected]> wrote:
>
>> Fixed a typo: "iff" -> "if" that I found while reviewing the other patch.
>
> iff is shorthand for "if and only if", so it is correct here. That being
> said,
> it's also the cause of many typofix suggstions so it's clearly not widely
> known
> anymore and we try to avoid it new code/comments. Maybe a case could be made
> for changing all the iff's in the code to aid readability, but it would have
> to
> be measured against the induced churn.
>
> --
> Daniel Gustafsson
>
Oh… I was misled by [1]. I should have done a Google search for that by myself.
I just did a search and found 219 occurrences:
```
chaol@ChaodeMacBook-Air postgresql % grep -Rho --include='*.c' --include='*.h'
' iff' . | wc -l
219
```
Do you think it is worth replacing all in a batch?
[1]
https://www.postgresql.org/message-id/CAKFQuwa6jgVj18bRGE3edy2Z%3D5%3DDAUGL8efxG2KdWJg12nF0kw%40mail.gmail.com
Best regards,
--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/