"Tegge, Bernd" <tegge@repas-aeg.de> writes:
> Number of necessary semaphores in sem.c not consistent with
> .../storage/lmgr/proc.c. IMHO, it would be better to change the macro
> PROC_SEM_MAP_ENTRIES in proc.h to "((maxBackends+1)/PROC_NSEMS_PER_SET+1)"
> instead. Otherwise the darwin port has a similar problem.
Yeah, I discovered that on Darwin last night ;-). I changed
PROC_SEM_MAP_ENTRIES, on the theory that the point of that macro is
to localize the knowledge of how many semaphores to create.
regards, tom lane