summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Vondra2016-08-22 21:38:31 +0000
committerPavan Deolasee2016-10-18 10:07:44 +0000
commit48cd000f24c27de157d64b7eea15fab57f0cd590 (patch)
tree551a0189c2a32e14c3113ec530487bb66998c106
parent9df5e2d7a06a790efbc6e6fcb98f74b8e8ae33b2 (diff)
remove unused shippability definitions from planner.h
The ShippabilityStat type and shippability walker/test functions are not really needed outside pgxcship.c.
-rw-r--r--src/include/pgxc/planner.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/include/pgxc/planner.h b/src/include/pgxc/planner.h
index 62c07c821b..095eca4e00 100644
--- a/src/include/pgxc/planner.h
+++ b/src/include/pgxc/planner.h
@@ -181,35 +181,6 @@ typedef struct
*/
} Shippability_context;
-/* enum for reasons as to why a query/expression is not FQSable */
-typedef enum
-{
- SS_UNSHIPPABLE_EXPR = 0, /* it has unshippable expression */
- SS_NEED_SINGLENODE, /* Has expressions which can be evaluated when
- * there is only a single node involved.
- * Athought aggregates too fit in this class, we
- * have a separate status to report aggregates,
- * see below.
- */
- SS_NEEDS_COORD, /* the query needs Coordinator */
- SS_VARLEVEL, /* one of its subqueries has a VAR
- * referencing an upper level query
- * relation
- */
- SS_NO_NODES, /* no suitable nodes can be found to ship
- * the query
- */
- SS_UNSUPPORTED_EXPR, /* it has expressions currently unsupported
- * by FQS, but such expressions might be
- * supported by FQS in future
- */
- SS_HAS_AGG_EXPR, /* it has aggregate expressions */
- SS_UPDATES_DISTRIBUTION_COLUMN /* query updates distribution column */
-} ShippabilityStat;
-
-extern bool pgxc_shippability_walker(Node *node, Shippability_context *sc_context);
-extern bool pgxc_test_shippability_reason(Shippability_context *context,
- ShippabilityStat reason);
extern PlannedStmt *pgxc_direct_planner(Query *query, int cursorOptions,
ParamListInfo boundParams);
extern List *AddRemoteQueryNode(List *stmts, const char *queryString,