Re: Patch: iff -> if

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Thom Brown <thom(at)linux(dot)com>
Cc: Andreas 'ads' Scherbaum <adsmail(at)wars-nicht(dot)de>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Patch: iff -> if
Date: 2014-04-16 00:36:50
Message-ID: 534DD0A2.8070603@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 04/15/2014 06:26 PM, Thom Brown wrote:
> On 15 April 2014 23:19, Andreas 'ads' Scherbaum <adsmail(at)wars-nicht(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Steve Crawford 2014-04-16 01:16:11 Re: Patch: iff -> if
Previous Message Peter Geoghegan 2014-04-15 23:30:39 Re: Clock sweep not caching enough B-Tree leaf pages?