Update comment that I missed the first time around.
authorTom Lane
Thu, 19 May 2005 23:57:11 +0000 (23:57 +0000)
committerTom Lane
Thu, 19 May 2005 23:57:11 +0000 (23:57 +0000)
src/backend/storage/ipc/procarray.c

index 85ae3c762baf517719ce79d3379106b686ebc16b..23b198b1497843ad2d3781f00910d39eebcf3219 100644 (file)
@@ -18,7 +18,7 @@
  *
  *
  * IDENTIFICATION
- *   $PostgreSQL: pgsql/src/backend/storage/ipc/procarray.c,v 1.1 2005/05/19 21:35:46 tgl Exp $
+ *   $PostgreSQL: pgsql/src/backend/storage/ipc/procarray.c,v 1.2 2005/05/19 23:57:11 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -442,8 +442,8 @@ GetSnapshotData(Snapshot snapshot, bool serializable)
 
    /*
     * Allocating space for MaxBackends xids is usually overkill;
-    * lastBackend would be sufficient.  But it seems better to do the
-    * malloc while not holding the lock, so we can't look at lastBackend.
+    * numProcs would be sufficient.  But it seems better to do the
+    * malloc while not holding the lock, so we can't look at numProcs.
     *
     * This does open a possibility for avoiding repeated malloc/free: since
     * MaxBackends does not change at runtime, we can simply reuse the