Skip to content
Snippets Groups Projects
Commit cbf65509 authored by Heikki Linnakangas's avatar Heikki Linnakangas
Browse files

Fix the number of lwlocks needed by the "fast path" lock patch. It needs

one lock per backend or auxiliary process - the need for a lock for each
aux processes was not accounted for in NumLWLocks(). No-one noticed,
because the three locks needed for the three aux processes fit into the
few extra lwlocks we allocate for 3rd party modules that don't call
RequestAddinLWLocks() (NUM_USER_DEFINED_LWLOCKS, 4 by default).
parent 051d1ba7
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment