ParentFull threadinfinite8s·Wow that's a bad example. Any decent query engine (which I'm assuming Postgres has) would reuse common subexpressions.View on HN