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

From Daniel Gustafsson
Subject Re: Typo in comment of auto_explain.c
Date
Msg-id 94E28138-002A-4021-BFD0-B3598D03B8FD@yesql.se
Whole thread Raw
In response to Typo in comment of auto_explain.c  (Ilia Evdokimov <ilya.evdokimov@tantorlabs.com>)
List pgsql-hackers
> On 27 Nov 2024, at 13:46, Ilia Evdokimov <ilya.evdokimov@tantorlabs.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




pgsql-hackers by date:

Previous
From: Ashutosh Bapat
Date:
Subject: Re: Difference in dump from original and restored database due to NOT NULL constraints on children
Next
From: Heikki Linnakangas
Date:
Subject: Re: Typo in comment of auto_explain.c