Commit f519d04a authored by Tom Lane's avatar Tom Lane

Update comment that I missed the first time around.

parent 191b13aa
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
* *
* *
* IDENTIFICATION * 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) ...@@ -442,8 +442,8 @@ GetSnapshotData(Snapshot snapshot, bool serializable)
/* /*
* Allocating space for MaxBackends xids is usually overkill; * Allocating space for MaxBackends xids is usually overkill;
* lastBackend would be sufficient. But it seems better to do the * numProcs would be sufficient. But it seems better to do the
* malloc while not holding the lock, so we can't look at lastBackend. * malloc while not holding the lock, so we can't look at numProcs.
* *
* This does open a possibility for avoiding repeated malloc/free: since * This does open a possibility for avoiding repeated malloc/free: since
* MaxBackends does not change at runtime, we can simply reuse the * MaxBackends does not change at runtime, we can simply reuse the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment