From: Tomas Vondra Date: Sun, 28 Aug 2016 03:10:55 +0000 (+0200) Subject: remove enable_remotejoin and enable_remotegroup C variables X-Git-Tag: XL9_5_R1_4~19 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=52887bd9cb04f769de36342f01786da0d0b84f53;p=postgres-xl.git remove enable_remotejoin and enable_remotegroup C variables 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. --- diff --git a/src/backend/optimizer/path/costsize.c b/src/backend/optimizer/path/costsize.c index 3ff14ee5e7..61d9b1fbc0 100644 --- a/src/backend/optimizer/path/costsize.c +++ b/src/backend/optimizer/path/costsize.c @@ -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 { diff --git a/src/include/optimizer/cost.h b/src/include/optimizer/cost.h index a96759954f..255464406f 100644 --- a/src/include/optimizer/cost.h +++ b/src/include/optimizer/cost.h @@ -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;