On 2015-08-07 19:11:52 +0200, Andres Freund wrote:
> I think the likelihood of actually breaking correct working extension
> code that uses namespace.h that'd be broken if we removed lock.h from
> namespace.h is an order of magnitude bigger than the possible impact on
> frontend code.
Same with dropping lwlock.h from lock.h. I tried both and the former
required more than 20 added headers in backend code, and the latter
about 5. I'm pretty sure the same would be true external extensions.