summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/ruleutils.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-04-18 13:33:07 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2016-04-18 13:33:07 -0400
commit6ec1ff852f0ab13973979df311b0ac2be9e207b1 (patch)
tree6f63c7ca40b22f636645514a6ebe008c7eb00b0e /src/backend/utils/adt/ruleutils.c
parent35166fd7614ed4f03e31f7ce1227c70103de22c9 (diff)
Further reduce the number of semaphores used under --disable-spinlocks.
Per discussion, there doesn't seem to be much value in having NUM_SPINLOCK_SEMAPHORES set to 1024: under any scenario where you are running more than a few backends concurrently, you really had better have a real spinlock implementation if you want tolerable performance. And 1024 semaphores is a sizable fraction of the system-wide SysV semaphore limit on many platforms. Therefore, reduce this setting's default value to 128 to make it less likely to cause out-of-semaphores problems.
Diffstat (limited to 'src/backend/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions