Re: BUG #8569: with recursive work incorrectly with function

From: David Johnston <polobo(at)yahoo(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #8569: with recursive work incorrectly with function
Date: 2013-10-30 16:41:58
Message-ID: 1383151318298-5776409.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

fanjing09 wrote
> The following bug has been logged on the website:
>
> Bug reference: 8569
> Logged by: Jing Fan
> Email address:

> fanjing09@

> PostgreSQL version: 9.1.9
> Operating system: ubuntu 13.04
> Description:
>
> with recursive table as(
> seed statement
> union all
> recursive statement
> )
> in the recursive statement, I use functions, that is select * from
> functionname(). I tried the function seperately and it can return correct
> result. However, the query just stopped recursion when new tuples are
> still
> generated from recursive statement.(actually the recursive part is just
> executed once). I wonder whether it is a bug?

We need to see the actual query you are running AND the "CREATE FUNCTION"
statement that you are using in the recursive part of the query.

It is likely not a bug but rather some combination of function volatility
and/or an incorrect query that is causing the problem.

David J.

--
View this message in context: http://postgresql.1045698.n5.nabble.com/BUG-8569-with-recursive-work-incorrectly-with-function-tp5776396p5776409.html
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Ubold Hooper 2013-10-30 19:46:35 Extract (week from date ) bug.
Previous Message Tom Lane 2013-10-30 15:00:43 Re: No reply-to in list messages.