From: Pavan Deolasee Date: Mon, 25 Jan 2016 09:31:20 +0000 (+0530) Subject: Add enable_fast_query_shipping GUC to control whether to attempt Fast Query X-Git-Tag: XL9_5_R1BETA1~71 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=323c52373d498cc634c63ec87baa3cee1eb198a8;p=postgres-xl.git Add enable_fast_query_shipping GUC to control whether to attempt Fast Query Shipping to the remote node or not Its primary use is for debugging purposes --- diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c index 984e66f241..dd5c0d6d04 100644 --- a/src/backend/utils/misc/guc.c +++ b/src/backend/utils/misc/guc.c @@ -949,6 +949,15 @@ static struct config_bool ConfigureNamesBool[] = NULL, NULL, NULL }, #ifdef PGXC + { + {"enable_fast_query_shipping", PGC_USERSET, QUERY_TUNING_METHOD, + gettext_noop("Enables the planner's use of fast query shipping to ship query directly to datanode."), + NULL + }, + &enable_fast_query_shipping, + true, + NULL, NULL, NULL + }, { {"loose_constraints", PGC_USERSET, COORDINATORS, gettext_noop("Relax enforcing of constraints"),