summaryrefslogtreecommitdiff
path: root/src/backend/regex
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2013-04-04 16:31:44 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2013-04-04 16:38:21 +0300
commit6ce083f08a7a30360695c0e9a927fe24f4c77143 (patch)
treef57a8d5d14b7a851dfe4f1194c08abe59bf5883f /src/backend/regex
parent677fde06afd23f355e3d599eedc3ba7a66ef4e85 (diff)
Calculate # of semaphores correctly with --disable-spinlocks.
The old formula didn't take into account that each WAL sender process needs a spinlock. We had also already exceeded the fixed number of spinlocks reserved for misc purposes (10). Bump that to 30. Backpatch to 9.0, where WAL senders were introduced. If I counted correctly, 9.0 had exactly 10 predefined spinlocks, and 9.1 exceeded that, but bump the limit in 9.0 too because 10 is uncomfortably close to the edge.
Diffstat (limited to 'src/backend/regex')
0 files changed, 0 insertions, 0 deletions