From: Alvaro Herrera <alvherre@dcc.uchile.cl>
To: tmp <skrald@amossen.dk>
To: pgsql-general@postgresql.org
Subject: Re: Recursive queries
Date: Tue, 25 Jan 2005 16:36:31 -0300
Message-ID: <20050125193631.GA15811@dcc.uchile.cl> (raw)
In-Reply-To: <20050125185833.GK29308@svana.org>
References: <pan.2005.01.24.16.27.44.945370@amossen.dk>
<20050125185833.GK29308@svana.org>
On Tue, Jan 25, 2005 at 07:58:33PM +0100, Martijn van Oosterhout wrote:
> On Mon, Jan 24, 2005 at 05:27:46PM +0100, tmp wrote:
> > Are there any plans on implementing support for recursive queries in
> > postgresql in the near future? If so: When?
> >
> > I can see there has been some discussion on the subject in the
> > developer-group for quite some time ago, but aparently all thoughts of
> > recursive queries has been stalled. :-(
>
> What do you mean by resursive queries? A query can have a subquery
> which calls a function which executes another query. That counts as
> recursion in my book. What type of recursion are you thinking of?
The WITH clause in SQL2003 AFAIR (maybe earlier ones as well).
--
Alvaro Herrera (<alvherre[@]dcc.uchile.cl>)
"Ellos andaban todos desnudos como su madre los parió, y también las mujeres,
aunque no vi más que una, harto moza, y todos los que yo vi eran todos
mancebos, que ninguno vi de edad de más de XXX años" (Cristóbal Colón)
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: alvherre@dcc.uchile.cl, skrald@amossen.dk
Subject: Re: Recursive queries
In-Reply-To: <20050125193631.GA15811@dcc.uchile.cl>
References: <pan.2005.01.24.16.27.44.945370@amossen.dk> <20050125185833.GK29308@svana.org> <20050125193631.GA15811@dcc.uchile.cl>
* 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