pgsql: Fix minor thinko in ProcGlobalShmemSize().

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix minor thinko in ProcGlobalShmemSize().
Date: 2011-06-17 13:14:54
Message-ID: E1QXYsw-0005oq-LH@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix minor thinko in ProcGlobalShmemSize().

There's no need to add space for startupBufferPinWaitBufId, because
it's part of the PROC_HDR object for which this function already
allocates space.

This has been wrong for a while, but the only consequence is that our
shared memory allocation is increased by 4 bytes, so no back-patch.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c573486ce9752afb9a8431089762d6845cf1429d

Modified Files
--------------
src/backend/storage/lmgr/proc.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2011-06-17 17:37:12 pgsql: Fix crash in CREATE UNLOGGED TABLE.
Previous Message Robert Haas 2011-06-17 04:55:03 pgsql: Fix typo.