(no title)
sk1pper | 3 years ago
> when a nested query is refactored into a common table expression (CTE), this kind of change doesn’t have any functional impact on either a query or its outcome
This isn’t quite true, at least in Postgres. It won’t affect the outcome, but it can affect the query plan.
zasdffaa|3 years ago
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit...
captaintobs|3 years ago