Skip to content

Commit 9728fb2

Browse files
committed
Generic plan usage turned out to be quite poor idea.
1 parent 27b6204 commit 9728fb2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/backend/utils/cache/plancache.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1150,8 +1150,7 @@ GetCachedPlan(CachedPlanSource *plansource, ParamListInfo boundParams,
11501150
qlist = RevalidateCachedQuery(plansource, queryEnv);
11511151

11521152
/* Decide whether to use a custom plan */
1153-
/* customplan = choose_custom_plan(plansource, boundParams); */
1154-
customplan = false;
1153+
customplan = choose_custom_plan(plansource, boundParams);
11551154

11561155
if (!customplan)
11571156
{

0 commit comments

Comments
 (0)