aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2008-12-03 12:22:53 +0000
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2008-12-03 12:22:53 +0000
commit011fa3662ead1710482a2a9c64762cb449f2aae7 (patch)
treeb5bae5b7ad4aa7a5632cdbf4ed1c0b2536ea10df
parentb457b2a24e811e8d264011bc7be826c4fb7455b4 (diff)
downloadpostgresql-011fa3662ead1710482a2a9c64762cb449f2aae7.tar.gz
postgresql-011fa3662ead1710482a2a9c64762cb449f2aae7.zip
Small comment fixes.
-rw-r--r--src/backend/storage/freespace/freespace.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/storage/freespace/freespace.c b/src/backend/storage/freespace/freespace.c
index 19a9a38e0b6..5335db31424 100644
--- a/src/backend/storage/freespace/freespace.c
+++ b/src/backend/storage/freespace/freespace.c
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/storage/freespace/freespace.c,v 1.69 2008/11/27 13:32:26 heikki Exp $
+ * $PostgreSQL: pgsql/src/backend/storage/freespace/freespace.c,v 1.70 2008/12/03 12:22:53 heikki Exp $
*
*
* NOTES:
@@ -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);