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. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers