From: David Johnston <polobo@yahoo.com>
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #8569: with recursive work incorrectly with function
Date: Wed, 30 Oct 2013 09:41:58 -0700 (PDT)
Message-ID: <1383151318298-5776409.post@n5.nabble.com> (raw)
In-Reply-To: <E1VbLXg-0007C4-W9@wrigleys.postgresql.org>
References: <E1VbLXg-0007C4-W9@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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-tp577...
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: polobo@yahoo.com
Subject: Re: BUG #8569: with recursive work incorrectly with function
In-Reply-To: <1383151318298-5776409.post@n5.nabble.com>
References: <E1VbLXg-0007C4-W9@wrigleys.postgresql.org> <1383151318298-5776409.post@n5.nabble.com>
* 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