From: Tom Lane Date: Thu, 19 May 2005 23:57:11 +0000 (+0000) Subject: Update comment that I missed the first time around. X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=cf39e3cb8536f7078f9fe6ec87f1d9986f92aa1b;p=users%2Fbernd%2Fpostgres.git Update comment that I missed the first time around. --- diff --git a/src/backend/storage/ipc/procarray.c b/src/backend/storage/ipc/procarray.c index 67493c2cb0..1eafc288b3 100644 --- a/src/backend/storage/ipc/procarray.c +++ b/src/backend/storage/ipc/procarray.c @@ -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