Re: Patch: iff -> if

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Patch: iff -> if
Дата
Msg-id 534DD0A2.8070603@dunslane.net
обсуждение исходный текст
Ответ на Re: Patch: iff -> if  (Thom Brown <thom@linux.com>)
Ответы Re: Patch: iff -> if  (Steve Crawford <scrawford@pinpointresearch.com>)
Список pgsql-hackers
On 04/15/2014 06:26 PM, Thom Brown wrote:
> On 15 April 2014 23:19, Andreas 'ads' Scherbaum <adsmail@wars-nicht.de> wrote:
>> Hi,
>>
>> stumbled over a number of "iff" in the source where "if" is meant - not sure
>> what the real story behind this is, but attached is a patch to fix the about
>> 80 occurrences.
>>
>> This only appears in comments, not in any code path.
> Yeah, apparently those are intentional, and mean "if and only if" (i.e. <=>)
>

This is a reasonably common idiom, or used to be.

cheers

andrew



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: Clock sweep not caching enough B-Tree leaf pages?
Следующее
От: Steve Crawford
Дата:
Сообщение: Re: Patch: iff -> if