Re: Typo in comment of auto_explain.c

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: Ilia Evdokimov <ilya(dot)evdokimov(at)tantorlabs(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Typo in comment of auto_explain.c
Date: 2024-11-27 12:54:27
Message-ID: 5363e72e-64de-4096-9f2e-0752994c58d7@iki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jelte Fennema-Nio 2024-11-27 12:54:45 Re: Add Pipelining support in psql
Previous Message Daniel Gustafsson 2024-11-27 12:52:38 Re: Typo in comment of auto_explain.c