pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: mark proctor <m.proctor@bigfoot.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-sql@postgresql.org
Subject: Re: Recusrive Functions in 7.0.3
Date: Sat, 10 Feb 2001 11:10:05 +0000
Message-ID: <01021011100509.05071@localhost.localdomain> (raw)
In-Reply-To: <2918.981794531@sss.pgh.pa.us>
References: <01020920225704.05071@localhost.localdomain>
	<01021008430408.05071@localhost.localdomain>
	<2918.981794531@sss.pgh.pa.us>

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.proctor@bigfoot.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



view thread (5+ messages)

Message-ID: <01021011100509.05071@localhost.localdomain>
Permalink:  ../01021011100509.05071@localhost.localdomain/
Also on:    postgresql.org/message-id/01021011100509.05071@localhost.localdomain

 · 

reply

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-sql@postgresql.org
  Cc: m.proctor@bigfoot.com, tgl@sss.pgh.pa.us
  Subject: Re: Recusrive Functions in 7.0.3
  In-Reply-To: <01021011100509.05071@localhost.localdomain>
  References: <01020920225704.05071@localhost.localdomain> <01021008430408.05071@localhost.localdomain> <2918.981794531@sss.pgh.pa.us> <01021011100509.05071@localhost.localdomain>

* 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