pgsql: Fix minor thinko in ProcGlobalShmemSize(). - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Fix minor thinko in ProcGlobalShmemSize().
Date
Msg-id E1QXYsw-0005oq-LH@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Fix typo.
Next
From: Robert Haas
Date:
Subject: pgsql: Fix crash in CREATE UNLOGGED TABLE.