From: Christophe Pettus <xof@thebuild.com>
To: Perry Smith <pedz@easesoftware.com>
Cc: pgsql-general list <pgsql-general@lists.postgresql.org>
Subject: Re: With Recursive / Recursive View question
Date: Sat, 20 Aug 2022 17:38:04 -0700
Message-ID: <F8BFE453-C7AC-4F74-B159-7958F540D0AE@thebuild.com> (raw)
In-Reply-To: <9F77CCA4-8039-435E-8166-7C7CBC90F39F@easesoftware.com>
References: <9F77CCA4-8039-435E-8166-7C7CBC90F39F@easesoftware.com>
> On Aug 20, 2022, at 15:42, Perry Smith <pedz@easesoftware.com> wrote:
>
> To rephrase, is it possible to write a view that would work from the child terms out towards the ancestors?
Assuming that the concern is that you want to parameterize this predicate:
WHERE basename = '10732.emlx'
... you might consider an SQL function taking basename as a parameter.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: xof@thebuild.com, pedz@easesoftware.com
Subject: Re: With Recursive / Recursive View question
In-Reply-To: <F8BFE453-C7AC-4F74-B159-7958F540D0AE@thebuild.com>
References: <9F77CCA4-8039-435E-8166-7C7CBC90F39F@easesoftware.com> <F8BFE453-C7AC-4F74-B159-7958F540D0AE@thebuild.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox