Re: pgsql: Fix typos in comments.

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Fujii Masao <fujii(at)postgresql(dot)org>
Cc: pgsql-committers(at)postgresql(dot)org, Thom Brown <thom(at)linux(dot)com>
Subject: Re: pgsql: Fix typos in comments.
Date: 2014-03-17 12:44:58
Message-ID: 20140317124458.GK6899@eldon.alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2014-03-17 15:30:13 pgsql: Fix thinko: have trueTriConsistentFn return GIN_TRUE.
Previous Message Fujii Masao 2014-03-17 11:52:55 pgsql: Fix typos in comments.