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

From Alvaro Herrera
Subject Re: pgsql: Fix typos in comments.
Date
Msg-id 20140317124458.GK6899@eldon.alvh.no-ip.org
Whole thread Raw
In response to pgsql: Fix typos in comments.  (Fujii Masao <fujii@postgresql.org>)
Responses Re: pgsql: Fix typos in comments.  (Thom Brown <thom@linux.com>)
List pgsql-committers
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.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services


pgsql-committers by date:

Previous
From: Fujii Masao
Date:
Subject: pgsql: Fix typos in comments.
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Fix thinko: have trueTriConsistentFn return GIN_TRUE.