remove unnecessary include of lwlock.h from pgxc.h
authorTomas Vondra <[email protected]>
Mon, 7 Nov 2016 17:35:50 +0000 (18:35 +0100)
committerTomas Vondra <[email protected]>
Mon, 7 Nov 2016 17:35:50 +0000 (18:35 +0100)
As pgxc.h is included from src/common/relpath.c, this caused a circular
dependency failure, because it requires lwlocknames.h, generated in
src/backend/storage (which in turn requires src/common already built).

src/include/pgxc/pgxc.h

index 689d045768b7c1f856e8828189e547d0e72a90fd..dc1cc87cd5144be54caf990618cb6c7f70a09021 100644 (file)
@@ -16,7 +16,6 @@
 #define PGXC_H
 
 #include "postgres.h"
-#include "storage/lwlock.h"
 
 extern bool isPGXCCoordinator;
 extern bool isPGXCDataNode;