Re: Typo in comment of auto_explain.c

From: Ilia Evdokimov <ilya(dot)evdokimov(at)tantorlabs(dot)com>
To: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Typo in comment of auto_explain.c
Date: 2024-11-27 13:10:36
Message-ID: 84d7195b-9152-4814-859f-86459af62f06@tantorlabs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 27.11.2024 15:54, Heikki Linnakangas wrote:
> 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 :-).
>
Ah, now everything is clear. I need to look at history of pgsql-hackers
more often. Then there are no questions.

Thanks.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ravi 2024-11-27 13:11:13 [PERF] Improve Cardinality Estimation for Joins with GROUP BY Having Single Clause
Previous Message Peter Eisentraut 2024-11-27 12:57:57 Re: Index AM API cleanup