Thanks for the report. Hmm, we have some tests for CTEs, so at least we tried to support them.
I'll file an issue with your exact query.
steinroe is a very fast man: https://github.com/supabase-community/postgres-language-serv...
That's great, thank you both!