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

index 67493c2cb015afe940b3d91bd0b4a333a79efe30..1eafc288b359b8ba4a3c112593a8349d36152bac 100644 (file)
@@ -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