Re: Recusrive Functions in 7.0.3

From: mark proctor <m(dot)proctor(at)bigfoot(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Recusrive Functions in 7.0.3
Date: 2001-02-10 11:10:05
Message-ID: 01021011100509.05071@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Ahh I found what I was doing wrong, there was a rogue value being returned causing to infinite loop. Its fixed now.
Creating that script you recommended set my thinking process straight.

many thanks

Mark

On Saturday 10 February 2001 08:42, Tom Lane wrote:
> mark proctor <m(dot)proctor(at)bigfoot(dot)com> writes:
> > However if I put the PERFORM line back in to create a recursive
> > function it just goes on forever, and I only have 6 nodes.
>
> Hm. There may be a bug here, or maybe you're still confused... but I'm
> not eager to reverse-engineer your table declarations and data from this
> sketch. Would you mind providing a complete example, ie a SQL script to
> reproduce the problem starting from an empty database?
>
> regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Najm Hashmi 2001-02-10 16:05:35 pgsql and cursor
Previous Message mark proctor 2001-02-10 08:43:04 Recusrive Functions in 7.0.3