Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VbXND-0003F8-LS for pgsql-bugs@arkaria.postgresql.org; Wed, 30 Oct 2013 15:07:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VbXND-0006nH-5h for pgsql-bugs@arkaria.postgresql.org; Wed, 30 Oct 2013 15:07:55 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VbLXp-0000x3-Lj for pgsql-bugs@postgresql.org; Wed, 30 Oct 2013 02:30:05 +0000 Received: from mahout.postgresql.org ([2001:4800:7903:4::123]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VbLXn-0007kT-CR for pgsql-bugs@postgresql.org; Wed, 30 Oct 2013 02:30:05 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by mahout.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VbLXm-0000Wn-Fb for pgsql-bugs@postgresql.org; Wed, 30 Oct 2013 02:30:02 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.80) (envelope-from ) id 1VbLXg-0007C4-W9 for pgsql-bugs@postgresql.org; Wed, 30 Oct 2013 02:29:57 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: BUG #8569: with recursive work incorrectly with function To: pgsql-bugs@postgresql.org From: fanjing09@gmail.com Message-Id: Date: Wed, 30 Oct 2013 02:29:56 +0000 X-Pg-Spam-Score: -1.5 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 8569 Logged by: Jing Fan Email address: fanjing09@gmail.com 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? -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs