Обсуждение: pgsql: Fix minor thinko in ProcGlobalShmemSize().

Поиск
Список
Период
Сортировка

pgsql: Fix minor thinko in ProcGlobalShmemSize().

От
Robert Haas
Дата:
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(-)