Hacker News new | ask | show | jobs
by truculent 1805 days ago
Forgive me for asking a simplistic question: What’s the advantage for you to write these as functions rather than, say, adding a new column in a view?

Would you use the same predicate on multiple tables? Is there a performance benefit?