Re: pgsql: Fix typos in comments. - Mailing list pgsql-committers

From Thom Brown
Subject Re: pgsql: Fix typos in comments.
Date
Msg-id CAA-aLv6eoxthHay9S_xr+wtbX8Hpuqtu1qD8rZHjspse2jMM-w@mail.gmail.com
Whole thread Raw
In response to Re: pgsql: Fix typos in comments.  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: pgsql: Fix typos in comments.
List pgsql-committers
On 17 March 2014 12:44, Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
> Fujii Masao wrote:
>
>> src/backend/access/heap/rewriteheap.c       |    6 +++---
>
> This one wasn't strictly a typo:
>
> @@ -1046,7 +1046,7 @@ logical_rewrite_log_mapping(RewriteState state, TransactionId xid,
>
>  /*
>   * Perform logical remapping for a tuple that's mapped from old_tid to
> - * new_tuple->t_self by rewrite_heap_tuple() iff necessary for the tuple.
> + * new_tuple->t_self by rewrite_heap_tuple() if necessary for the tuple.
>   */
>
>
> "iff" was discussed in pg-hackers a fortnight ago or so.  In this
> particular case I don't think "iff" rather than "if" added too much to
> the sentence, though, so I think it's fine as it is.

Could you elaborate, for my sake?

--
Thom


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: pgsql: During index build, check and elog (not just Assert) for broken
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Fix typos in comments.