|
18 | 18 | *
|
19 | 19 | *
|
20 | 20 | * IDENTIFICATION
|
21 |
| - * $PostgreSQL: pgsql/src/backend/storage/ipc/procarray.c,v 1.1 2005/05/1921:35:46 tgl Exp $ |
| 21 | + * $PostgreSQL: pgsql/src/backend/storage/ipc/procarray.c,v 1.2 2005/05/1923:57:11 tgl Exp $ |
22 | 22 | *
|
23 | 23 | *-------------------------------------------------------------------------
|
24 | 24 | */
|
@@ -442,8 +442,8 @@ GetSnapshotData(Snapshot snapshot, bool serializable)
|
442 | 442 |
|
443 | 443 | /*
|
444 | 444 | * 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 atlastBackend. |
| 445 | + *numProcs would be sufficient. But it seems better to do the |
| 446 | + * malloc while not holding the lock, so we can't look atnumProcs. |
447 | 447 | *
|
448 | 448 | * This does open a possibility for avoiding repeated malloc/free: since
|
449 | 449 | * MaxBackends does not change at runtime, we can simply reuse the
|
|