remove enable_remotejoin and enable_remotegroup C variables
authorTomas Vondra <[email protected]>
Sun, 28 Aug 2016 03:10:55 +0000 (05:10 +0200)
committerPavan Deolasee <[email protected]>
Tue, 18 Oct 2016 10:07:47 +0000 (15:37 +0530)
None of those variables was referenced in C code, and there are
no GUC variables matching them, so it's a dead code.

Those variables are still referenced in three sets of regression
tests - rangefuncs, xc_limit and xc_sort.

For rangefuncs the reference is however only in one of multiple
possible outputs (and apparently we pick another one), and the
other two regression tests are not part of any test schedule.

src/backend/optimizer/path/costsize.c
src/include/optimizer/cost.h

index deeb4d5261e9f4df519ca0e48c87ae81bb0ca947..9e8d4fa00cbc5de6c1468ef103e083c837791b6b 100644 (file)
@@ -122,11 +122,7 @@ bool               enable_nestloop = true;
 bool           enable_material = true;
 bool           enable_mergejoin = true;
 bool           enable_hashjoin = true;
-#ifdef PGXC
 bool           enable_fast_query_shipping = true;
-bool           enable_remotejoin = true;
-bool           enable_remotegroup = true;
-#endif
 
 typedef struct
 {
index 0470ddebd01cd57e97239fb217b170e9e0ab6f50..d73fbe4ba3710877330d43a565f11844acfdfb8a 100644 (file)
@@ -72,8 +72,7 @@ extern bool enable_mergejoin;
 extern bool enable_hashjoin;
 #ifdef PGXC
 extern bool enable_fast_query_shipping;
-extern bool enable_remotejoin;
-extern bool enable_remotegroup;
+
 #endif
 extern int     constraint_exclusion;