aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/complex.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-04-18 13:19:52 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2016-04-18 13:19:52 -0400
commit37f30b2510525155f4f1f94288a015163689cc69 (patch)
treefc623aace68895adc020cefcc8c0ebc2025d2f2d /src/tutorial/complex.c
parent9008922bf727ba4337ed26b5c07df7f1d5f1548b (diff)
downloadpostgresql-37f30b2510525155f4f1f94288a015163689cc69.tar.gz
postgresql-37f30b2510525155f4f1f94288a015163689cc69.zip
Fix --disable-spinlocks in 9.2 and 9.3 branches.
My back-patch of the 9.4-era commit 44cd47c1d49655c5 into 9.2 and 9.3 fixed HPPA builds as expected, but it broke --disable-spinlocks builds, because the dummy spinlock is initialized before the underlying semaphore infrastructure is alive. In 9.4 and up this works because of commit daa7527afc227443, which decoupled initialization of an slock_t variable from access to the actual system semaphore object. The best solution seems to be to back-port that patch, which should be a net win anyway because it improves the usability of --disable-spinlocks builds in the older branches; and it's been out long enough now to not be worrisome from a stability perspective.
Diffstat (limited to 'src/tutorial/complex.c')
0 files changed, 0 insertions, 0 deletions