File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1818 *
1919 *
2020 * IDENTIFICATION
21- * $PostgreSQL: pgsql/src/backend/storage/ipc/procarray.c,v 1.1 2005/05/19 21:35:46 tgl Exp $
21+ * $PostgreSQL: pgsql/src/backend/storage/ipc/procarray.c,v 1.2 2005/05/19 23:57:11 tgl Exp $
2222 *
2323 *-------------------------------------------------------------------------
2424 */
@@ -442,8 +442,8 @@ GetSnapshotData(Snapshot snapshot, bool serializable)
442442
443443 /*
444444 * Allocating space for MaxBackends xids is usually overkill;
445- * lastBackend would be sufficient. But it seems better to do the
446- * malloc while not holding the lock, so we can't look at lastBackend .
445+ * numProcs would be sufficient. But it seems better to do the
446+ * malloc while not holding the lock, so we can't look at numProcs .
447447 *
448448 * This does open a possibility for avoiding repeated malloc/free: since
449449 * MaxBackends does not change at runtime, we can simply reuse the
You can’t perform that action at this time.
0 commit comments