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 17:55:42
Message-ID: Pine.LNX.4.30.0202231249160.689-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane writes:

> Don Baccus <dhogaza(at)pacifier(dot)com> writes:
> > Is there any reason why recursive SQL functions are not allowed in PG 7.2?
>
> It's been discussed, cf
> http://fts.postgresql.org/db/mw/msg.html?mid=1038929
> but no one got around to it for 7.2.
>
> Aside from the forward-reference problem, which seems easy enough to
> solve, I think there may be some performance issues that'd have to be
> dealt with (memory leaks and so forth).

I've prepared a patch for recursive SQL functions. I assume these memory
leaks "and so forth" that you speak of are just issues of quality, not
something that should prevent the use of recursive functions altogether.

--
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 18:03:12 Re: IANA postgres service type-o!
Previous Message Rod Taylor 2002-02-23 17:27:12 Re: elog() proposal