News for hackers. Stuff that matters.
Re:A Hairy PostgreSQL Incident by dap on Friday February 11, 2022 @09:25AM (#30301813)
How would you fix the query or indexes here? The CTE seems clearly a hack, effectively functioning as a hint. It doesn’t seem like it counts as fixing the query.

I’m skeptical of this rule of thumb. I’m sure people misuse hints. But if someone thinks they “need” hints, my guess is they’ve tried changing the query and indexes.

There are no comments on this comment yet.