public inbox for [email protected]  
help / color / mirror / Atom feed
From: Shaozhong SHI <[email protected]>
To: Greg Sabino Mullane <[email protected]>
Cc: pgsql-sql <[email protected]>
Subject: Re: Multiple sets of results from recursive query
Date: Mon, 17 Jul 2023 20:21:54 +0100
Message-ID: <CA+i5JwZPFTMQd102mFdi8J3WgcJ4i8TKm9px0uKscWdpNKR37A@mail.gmail.com> (raw)
In-Reply-To: <CAKAnmmKCDuNYxdum7vX=hq6RuLyTcAhoxqsg9ReC3kSMpoP=iQ@mail.gmail.com>
References: <CA+i5Jwa_7doLv+PJGKBDeN-K-Dn4kkqp-PxGok5N8UQWwGzzrQ@mail.gmail.com>
	<CAKAnmmKCDuNYxdum7vX=hq6RuLyTcAhoxqsg9ReC3kSMpoP=iQ@mail.gmail.com>

On Monday, 17 July 2023, Greg Sabino Mullane <[email protected]> wrote:

> 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?
>>
>
Surely, there must be possible to find all route paths.

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: <CA+i5JwZPFTMQd102mFdi8J3WgcJ4i8TKm9px0uKscWdpNKR37A@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