Skip to content

Commit

Permalink
WIP on enabling plan direct scans by default
Browse files Browse the repository at this point in the history
  • Loading branch information
yuzefovich committed Nov 29, 2022
1 parent 17134eb commit 6093c36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sql/vars.go
Original file line number Diff line number Diff line change
Expand Up @@ -1793,7 +1793,7 @@ var varGen = map[string]sessionVar{
return formatBoolAsPostgresSetting(evalCtx.SessionData().PlanDirectScan), nil
},
GlobalDefault: func(sv *settings.Values) string {
return formatBoolAsPostgresSetting(false)
return formatBoolAsPostgresSetting(true)
},
},

Expand Down

0 comments on commit 6093c36

Please sign in to comment.