From 323c52373d498cc634c63ec87baa3cee1eb198a8 Mon Sep 17 00:00:00 2001 From: Pavan Deolasee Date: Mon, 25 Jan 2016 15:01:20 +0530 Subject: [PATCH] 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 --- src/backend/utils/misc/guc.c | 9 +++++++++ 1 file changed, 9 insertions(+) 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"), -- 2.39.5