OSDN Git Service

Fix minor thinko in ProcGlobalShmemSize().
authorRobert Haas <rhaas@postgresql.org>
Fri, 17 Jun 2011 13:12:19 +0000 (09:12 -0400)
committerRobert Haas <rhaas@postgresql.org>
Fri, 17 Jun 2011 13:12:19 +0000 (09:12 -0400)
commitc573486ce9752afb9a8431089762d6845cf1429d
tree1e0773a4fe2b00afe023434e51380840ec07e698
parentd61ec7c7a7ec822862880467a5722ccfb0dd9b82
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.
src/backend/storage/lmgr/proc.c