Small comment fixes.
authorHeikki Linnakangas <heikki@enterprisedb.com>
Wed, 3 Dec 2008 12:22:53 +0000 (12:22 +0000)
committerHeikki Linnakangas <heikki@enterprisedb.com>
Wed, 3 Dec 2008 12:22:53 +0000 (12:22 +0000)
src/backend/storage/freespace/freespace.c

index 7f65487de2a2d96c115bbdf1708d5b8a955b2d2d..93f9e6b07dc4f335f4065bc33b254d771ca9df63 100644 (file)
@@ -535,7 +535,7 @@ fsm_readbuf(Relation rel, FSMAddress addr, bool extend)
 }
 
 /*
- * Ensure that the FSM fork is at least n_fsmblocks long, extending
+ * Ensure that the FSM fork is at least fsm_nblocks long, extending
  * it if necessary with empty pages. And by empty, I mean pages filled
  * with zeros, meaning there's no free space.
  */
@@ -555,8 +555,8 @@ fsm_extend(Relation rel, BlockNumber fsm_nblocks)
         * FSM happens seldom enough that it doesn't seem worthwhile to
         * have a separate lock tag type for it.
         *
-        * Note that another backend might have extended the relation
-        * before we get the lock.
+        * Note that another backend might have extended or created the
+        * relation before we get the lock.
         */
        LockRelationForExtension(rel, ExclusiveLock);