Re: Typo in comment of auto_explain.c - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Typo in comment of auto_explain.c
Date
Msg-id 5363e72e-64de-4096-9f2e-0752994c58d7@iki.fi
Whole thread Raw
In response to Typo in comment of auto_explain.c  (Ilia Evdokimov <ilya.evdokimov@tantorlabs.com>)
Responses Re: Typo in comment of auto_explain.c
List pgsql-hackers
On 27/11/2024 14:46, Ilia Evdokimov wrote:
> Hi everyone,
> 
> I found typo in comment auto_explain.c line 282 (/* Enable per-node 
> instrumentation iff log_analyze is required. */).
> 
> Not 'iff' but 'if'.

It's short for "if and only if". See 
https://en.wikipedia.org/wiki/If_and_only_if.

There was some previous discussion on pgsql-hackers on whether that 
usage common enough, although I don't find the thread right now. You're 
not the first one to think it's a typo :-).

-- 
Heikki Linnakangas
Neon (https://neon.tech)




pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: Typo in comment of auto_explain.c
Next
From: Jelte Fennema-Nio
Date:
Subject: Re: Add Pipelining support in psql