mirror of
https://github.com/postgres/postgres.git
synced 2025-10-28 11:55:03 +03:00
Teach CLUSTER to use seqscan-and-sort when it's faster than indexscan.
... or at least, when the planner's cost estimates say it will be faster. Leonardo Francalanci, reviewed by Itagaki Takahiro and Tom Lane
This commit is contained in:
@@ -37,4 +37,6 @@ extern Plan *subquery_planner(PlannerGlobal *glob, Query *parse,
|
||||
|
||||
extern Expr *expression_planner(Expr *expr);
|
||||
|
||||
extern bool plan_cluster_use_sort(Oid tableOid, Oid indexOid);
|
||||
|
||||
#endif /* PLANNER_H */
|
||||
|
||||
Reference in New Issue
Block a user