Re: Typo in comment of auto_explain.c

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Ilia Evdokimov <ilya(dot)evdokimov(at)tantorlabs(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Typo in comment of auto_explain.c
Date: 2024-11-27 12:52:38
Message-ID: 94E28138-002A-4021-BFD0-B3598D03B8FD@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 27 Nov 2024, at 13:46, Ilia Evdokimov <ilya(dot)evdokimov(at)tantorlabs(dot)com> wrote:

> I found typo in comment auto_explain.c line 282 (/* Enable per-node instrumentation iff log_analyze is required. */).
>
> Not 'iff' but 'if'.

iff is a shorthand for "if and only if", which is used throughout the code.
Given the number of reports of typos we've had over the years it's discouraged
from use in new code.

--
Daniel Gustafsson

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2024-11-27 12:54:27 Re: Typo in comment of auto_explain.c
Previous Message Ashutosh Bapat 2024-11-27 12:51:59 Re: Difference in dump from original and restored database due to NOT NULL constraints on children