Would GROUP BY fix the issue?
The article explains that skip scan doesn't do anything here.
> nor does it imply the author knew about indexes, nor ANALYZE
Indexes were talked about a lot, and they explicitly mentioned looking at the query plan.
nope - either gets you a HashAggregate, GroupAggregate, or Unique depending on whether the column/input is indexed/ordered
The article seems to have changed since I commented.
nope - either gets you a HashAggregate, GroupAggregate, or Unique depending on whether the column/input is indexed/ordered