Re: recursive SQL functions

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Don Baccus <dhogaza(at)pacifier(dot)com>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: recursive SQL functions
Date: 2002-02-23 19:08:24
Message-ID: Pine.LNX.4.30.0202231406560.689-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane writes:

> I suspect it would not work to re-use a query plan tree at multiple
> recursion levels (someday, plan trees should be read-only during
> execution, but they ain't now). As long as you are making a new
> plan tree for each recursive entry, it should work ...

ISTM that this is already what's happening. Each level gets a new plan
tree.

--
Peter Eisentraut peter_e(at)gmx(dot)net

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-02-23 19:23:39 Re: recursive SQL functions
Previous Message Tom Lane 2002-02-23 18:07:03 Re: recursive SQL functions