That is true for the simple query in the bug report, but our real queries are a lot more complex than this one, and would suffer a lot in readability when CTEs are not available. The LimitHandler should just take the query 'select * from A', and add that to the CTE if one already exists. |