Thread: SHMEM_INDEX_SIZE exceeded on startup

SHMEM_INDEX_SIZE exceeded on startup

From
"Kevin Grittner"
Date:
I doubt that this is going to matter much, and should only have a
trivial impact on shared space calculations and postmaster and
connection startup time, but just as a matter of principle we might
want to set SHMEM_INDEX_SIZE at least as large as the number of
entries in ShmemIndex.  At startup that seems to be 40 as of current
HEAD.

Trivial patch attached.

-Kevin


Attachment

Re: SHMEM_INDEX_SIZE exceeded on startup

From
Heikki Linnakangas
Date:
On 29.03.2011 20:20, Kevin Grittner wrote:
> I doubt that this is going to matter much, and should only have a
> trivial impact on shared space calculations and postmaster and
> connection startup time, but just as a matter of principle we might
> want to set SHMEM_INDEX_SIZE at least as large as the number of
> entries in ShmemIndex.  At startup that seems to be 40 as of current
> HEAD.
>
> Trivial patch attached.

Ok, committed.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com