"Thomas A. Lowery" <tlowery(at)stlowery(dot)net> writes:
> Can I force the use of an index?
Try "set enable_seqscan = off". But on the basis of what you've shown,
it's not obvious that an indexscan will be faster. Is the planner's
estimate that 139654 rows will match f_state = 'PA' in the right
ballpark?
regards, tom lane