public inbox for [email protected]
help / color / mirror / Atom feedFrom: Greg Sabino Mullane <[email protected]>
To: Shaozhong SHI <[email protected]>
Cc: pgsql-sql <[email protected]>
Subject: Re: Multiple sets of results from recursive query
Date: Mon, 17 Jul 2023 12:43:09 -0400
Message-ID: <CAKAnmmKCDuNYxdum7vX=hq6RuLyTcAhoxqsg9ReC3kSMpoP=iQ@mail.gmail.com> (raw)
In-Reply-To: <CA+i5Jwa_7doLv+PJGKBDeN-K-Dn4kkqp-PxGok5N8UQWwGzzrQ@mail.gmail.com>
References: <CA+i5Jwa_7doLv+PJGKBDeN-K-Dn4kkqp-PxGok5N8UQWwGzzrQ@mail.gmail.com>
What exact problem are you trying to solve? Recursive CTEs return one
row per internal invocation, so they already return a "set" of results, but
you could use arrays or json if you wanted to pack in extra information per
returned row.
On Sun, Jul 16, 2023 at 6:41 AM Shaozhong SHI <[email protected]>
wrote:
> Has anyone come across multiple sets of results with recursive query?
>
> How to handle it?
>
> Regards,
>
> David
>
view thread (5+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: Multiple sets of results from recursive query
In-Reply-To: <CAKAnmmKCDuNYxdum7vX=hq6RuLyTcAhoxqsg9ReC3kSMpoP=iQ@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox