Re: Remove restrictions in recursive query

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Renan Alves Fonseca <renanfonseca(at)gmail(dot)com>
Cc: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Remove restrictions in recursive query
Date: 2025-03-27 21:17:16
Message-ID: 2152313.1743110236@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Renan Alves Fonseca <renanfonseca(at)gmail(dot)com> writes:
> I'll assume that the silence about allowing GROUP BY means it is not a
> great idea...

Well, you can do grouping, ordering, or whatever else you want to the
result of the recursive WITH in the outer query level. I don't see
any advantage in allowing an additional level of that inside the WITH.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Renan Alves Fonseca 2025-03-27 21:21:32 Re: Remove restrictions in recursive query
Previous Message Andrew Dunstan 2025-03-27 21:15:57 Re: Non-text mode for pg_dumpall