agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: amul sul <sul_amul@yahoo.co.in>
To: amul sul <sul_amul@yahoo.co.in>
To: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
To: pgsql-novice@postgresql.org <pgsql-novice@postgresql.org>
Subject: Re: SRF_RETURN_NEXT Error: rows returned by function are not all of the same row type
Date: Tue, 25 Feb 2014 12:59:08 +0800 (SGT)
Message-ID: <1393304348.39355.YahooMailNeo@web193502.mail.sg3.yahoo.com> (raw)
In-Reply-To: <1393224448.45554.YahooMailNeo@web193503.mail.sg3.yahoo.com>
References: <1393224448.45554.YahooMailNeo@web193503.mail.sg3.yahoo.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-novice>



Hi, Finally I fixed it :)

It has issue in sub-sequence call, it looses the result store in values[]   @line 84 .
thats why, it successfully return only single row in first call and fails in further call.

It can be fix by preserving results (i.e. values[]).

Thank you !

Regards,
Amul Sul


-- 
Sent via pgsql-novice mailing list (pgsql-novice@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-novice



view thread (2+ messages)

Message-ID: <1393304348.39355.YahooMailNeo@web193502.mail.sg3.yahoo.com>
Permalink:  ../1393304348.39355.YahooMailNeo@web193502.mail.sg3.yahoo.com/
Also on:    postgresql.org/message-id/1393304348.39355.YahooMailNeo@web193502.mail.sg3.yahoo.com

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-sql@postgresql.org
  Cc: sul_amul@yahoo.co.in, pgsql-novice@postgresql.org
  Subject: Re: SRF_RETURN_NEXT Error: rows returned by function are not all of the same row type
  In-Reply-To: <1393304348.39355.YahooMailNeo@web193502.mail.sg3.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox