Type: bool
Default: on
Context: user
Restart: false

Enables or disables the query planner's use of sequential scan plan types. It is impossible to suppress sequential scans entirely, but turning this variable off discourages the planner from using one if there are other methods available. The default is on.

Recommendations

For interactive session use only when troubleshooting queries.

Comments