minor fix on function declarations

pull/896/head
Onder Kalaci 2016-10-21 15:28:11 +03:00
parent 101bb8f554
commit 6366eebee6
2 changed files with 2 additions and 2 deletions

View File

@ -158,6 +158,7 @@ static Query * LateralQuery(Query *query);
static bool SupportedLateralQuery(Query *parentQuery, Query *lateralQuery); static bool SupportedLateralQuery(Query *parentQuery, Query *lateralQuery);
static bool JoinOnPartitionColumn(Query *query); static bool JoinOnPartitionColumn(Query *query);
static void ErrorIfUnsupportedShardDistribution(Query *query); static void ErrorIfUnsupportedShardDistribution(Query *query);
static List * RelationIdList(Query *query);
static bool CoPartitionedTables(Oid firstRelationId, Oid secondRelationId); static bool CoPartitionedTables(Oid firstRelationId, Oid secondRelationId);
static bool ShardIntervalsEqual(FmgrInfo *comparisonFunction, static bool ShardIntervalsEqual(FmgrInfo *comparisonFunction,
ShardInterval *firstInterval, ShardInterval *firstInterval,
@ -3861,7 +3862,7 @@ ErrorIfUnsupportedShardDistribution(Query *query)
/* /*
* RelationIdList returns list of unique relation ids in query tree. * RelationIdList returns list of unique relation ids in query tree.
*/ */
List * static List *
RelationIdList(Query *query) RelationIdList(Query *query)
{ {
List *rangeTableList = NIL; List *rangeTableList = NIL;

View File

@ -123,7 +123,6 @@ extern bool LeafQuery(Query *queryTree);
extern List * PartitionColumnOpExpressionList(Query *query); extern List * PartitionColumnOpExpressionList(Query *query);
extern List * ReplaceColumnsInOpExpressionList(List *opExpressionList, Var *newColumn); extern List * ReplaceColumnsInOpExpressionList(List *opExpressionList, Var *newColumn);
extern bool IsPartitionColumnRecursive(Expr *columnExpression, Query *query); extern bool IsPartitionColumnRecursive(Expr *columnExpression, Query *query);
extern List * RelationIdList(Query *query);
#endif /* MULTI_LOGICAL_OPTIMIZER_H */ #endif /* MULTI_LOGICAL_OPTIMIZER_H */