pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adam Radłowski <adamr@informatyka.gdansk.pl>
To: Michael Fuhr <mike@fuhr.org>
Cc: Alexander B. <burbello3000@yahoo.com.br>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Return record on recursive call
Date: Tue, 29 May 2007 03:33:19 +0200
Message-ID: <465B82DF.1030908@informatyka.gdansk.pl> (raw)
In-Reply-To: <20070528214007.GA65520@winnie.fuhr.org>
References: <465B365F.2010605@yahoo.com.br>
	<20070528214007.GA65520@winnie.fuhr.org>

For info only (it's not exactly this same problem):
This function looks like replacement of scroll cursor functionality. 
Cursors are working without problems.

Adamn

Michael Fuhr pisze:
> On Mon, May 28, 2007 at 05:06:55PM -0300, Alexander B. wrote:
>> I am creating a function that when finished the last level, should
>> return for each row.
>> I put raise notice to trace and the result is correct, but when I try to
>> execute, an error is showed.
>>
>> "ERRO: wrong record type supplied in RETURN NEXT"
>>
>> I created other functions the same way and worked, basically using the
>> same structure but not recursive.
>> Is it different return when using recursive.
> 
> It's hard to say what's wrong with your sample code without seeing
> it with its surrounding context.  Could you post a complete example?
> Please reduce the problem to the smallest possible example that
> exhibits the undesirable behavior.
> 
> This question is a bit off-topic for pgsql-admin; you might get
> more help on pgsql-general.
> 



view thread (3+ messages)

Message-ID: <465B82DF.1030908@informatyka.gdansk.pl>
Permalink:  ../465B82DF.1030908@informatyka.gdansk.pl/
Also on:    postgresql.org/message-id/465B82DF.1030908@informatyka.gdansk.pl

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: adamr@informatyka.gdansk.pl, mike@fuhr.org, burbello3000@yahoo.com.br
  Subject: Re: Return record on recursive call
  In-Reply-To: <465B82DF.1030908@informatyka.gdansk.pl>

* 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