]> granicus.if.org Git - postgresql/commit
We don't need to include pg_sema.h in s_lock.h anymore.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 9 Jan 2014 01:58:22 +0000 (20:58 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 9 Jan 2014 01:58:22 +0000 (20:58 -0500)
commit220b34331f77effdb46798ddd7cca0cffc1b2858
treed52435a2b7771fff4b9206f26cb3b72fa817d547
parent080b7db72ebbec22580237631d6b07d0e1147b01
We don't need to include pg_sema.h in s_lock.h anymore.

Minor improvement to commit daa7527afc2274432094ebe7ceb03aa41f916607:
s_lock.h no longer has any need to mention PGSemaphoreData, so we can
rip out the #include that supplies that.  In a non-HAVE_SPINLOCKS
build, this doesn't really buy much since we still need the #include
in spin.h --- but everywhere else, this reduces #include footprint by
some trifle, and helps keep the different locking facilities separate.
src/backend/storage/lmgr/spin.c
src/include/storage/s_lock.h
src/include/storage/spin.h