Hacker News new | ask | show | jobs
by nattaylor 1431 days ago
It does have to read it because NULLs aren't counted
1 comments

If the column is NOT NULL, does it still read it?
Shouldn’t do. Postgres is usually pretty good at making these types of optimisations.