Re: Typo in comment of auto_explain.c

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: Typo in comment of auto_explain.c
Дата
Msg-id 94E28138-002A-4021-BFD0-B3598D03B8FD@yesql.se
обсуждение исходный текст
Ответ на Typo in comment of auto_explain.c  (Ilia Evdokimov <ilya.evdokimov@tantorlabs.com>)
Список 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 по дате отправления: