remove unnecessary include of storage/proc.h from rel.h
authorTomas Vondra <[email protected]>
Wed, 9 Nov 2016 16:56:45 +0000 (17:56 +0100)
committerTomas Vondra <[email protected]>
Wed, 9 Nov 2016 16:56:45 +0000 (17:56 +0100)
This was causing #error failures in s_lock.h and atomics.h because
rel.h is included also from frontend code.

src/include/utils/rel.h

index f793dd3719ee0bac340833ea2a8d34c1bce66e2c..6145b0ecc121975c53857a6d004e14e595ea5a2d 100644 (file)
 #include "catalog/pg_index.h"
 #include "fmgr.h"
 #include "nodes/bitmapset.h"
-#ifdef PGXC
 #include "pgxc/locator.h"
-#endif
 #include "rewrite/prs2lock.h"
 #include "storage/block.h"
-#ifdef XCP
-#include "storage/proc.h"
-#endif
 #include "storage/relfilenode.h"
 #include "utils/relcache.h"
 #include "utils/reltrigger.h"
 
-
 /*
  * LockRelId and LockInfo really belong to lmgr.h, but it's more convenient
  * to declare them here so we can have a LockInfoData field in a Relation.