startupBufferPinWaitBufId vs. ProcGlobalShmemSize

Поиск
Список
Период
Сортировка
От Robert Haas
Тема startupBufferPinWaitBufId vs. ProcGlobalShmemSize
Дата
Msg-id BANLkTinOpT9dq_76zyNHDame0ZU2u=CLKw@mail.gmail.com
обсуждение исходный текст
Список pgsql-hackers
ProcGlobalShmemSize() currently includes code to allow space for
startupBufferPinWaitBufId.  But I think that's redundant, because that
variable is stored in PROC_HDR *ProcGlobal, for which this function is
separately allocating space.

So I propose to apply the attached patch, barring objections.

I see no reason to back-patch this, since allocating an extra 4 bytes
of shared memory is hardly anything to get excited about.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jaime Casanova
Дата:
Сообщение: Re: procpid?
Следующее
От: Robert Haas
Дата:
Сообщение: Re: procpid?