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]>
Thu, 1 Sep 2016 09:30:13 +0000 (15:00 +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 3ff14ee5e7496800140c67dd73d6c222d4da7b58..61d9b1fbc0c57163a346b28adfd7763d9e402f62 100644 (file)
@@ -123,11 +123,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 a96759954f91502f6af24c7bd0d5e122ab9fae1f..255464406f1385a242ac8a1b1b4336b04ea6d174 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;