Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

So you added a generated boolean column that uses the value from a another boolean column? Sounds like a strange concept.

Did you try a filtered index using WHERE ... IS NOT NULL instead?

Or maybe an index on an expression coalesce(the_column, false) and then use that expression the where clause?



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: