projects
/
postgres-xl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c527924
)
remove unnecessary include of lwlock.h from pgxc.h
author
Tomas Vondra
<
[email protected]
>
Mon, 7 Nov 2016 17:35:50 +0000
(18:35 +0100)
committer
Tomas 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
patch
|
blob
|
blame
|
history
diff --git
a/src/include/pgxc/pgxc.h
b/src/include/pgxc/pgxc.h
index 689d045768b7c1f856e8828189e547d0e72a90fd..dc1cc87cd5144be54caf990618cb6c7f70a09021 100644
(file)
--- a/
src/include/pgxc/pgxc.h
+++ b/
src/include/pgxc/pgxc.h
@@
-16,7
+16,6
@@
#define PGXC_H
#include "postgres.h"
-#include "storage/lwlock.h"
extern bool isPGXCCoordinator;
extern bool isPGXCDataNode;