Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bs6i2-00086s-PX for pgsql-sql@arkaria.postgresql.org; Thu, 06 Oct 2016 11:19:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bs6i2-0001b1-CW for pgsql-sql@arkaria.postgresql.org; Thu, 06 Oct 2016 11:19:30 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bs6i1-0001Y7-8V; Thu, 06 Oct 2016 11:19:29 +0000 Received: from mail.heales.com ([109.235.147.222] helo=hmmailserver2.com) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bs6hy-0003qe-2U; Thu, 06 Oct 2016 11:19:28 +0000 X-Virus-Scanned: amavisd-new at hmmailserver2.com Date: Thu, 6 Oct 2016 12:19:22 +0100 (BST) From: Bujji Babu To: Heikki Linnakangas Cc: pgsql-bugs@postgresql.org, pgsql-sql@postgresql.org Message-ID: <1738756281.1599713.1475752762765.JavaMail.zimbra@heales.com> In-Reply-To: <726e0ba0-67a7-a1a1-4844-8bff8597e00b@iki.fi> References: <535504359.1542314.1475749343449.JavaMail.zimbra@heales.com> <1345512202.1556406.1475751598081.JavaMail.zimbra@heales.com> <726e0ba0-67a7-a1a1-4844-8bff8597e00b@iki.fi> Subject: Re: [BUGS] SQL Bug MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Mailer: Zimbra 8.0.9_GA_6191 (ZimbraWebClient - FF49 (Win)/8.0.9_GA_6191) Thread-Topic: SQL Bug Thread-Index: omsDCzCPXrhxVmaq/gdwEj0x1+5L0Q== X-Pg-Spam-Score: -4.5 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-sql Precedence: bulk Sender: pgsql-sql-owner@postgresql.org Dear Heikki, It works. Thanks&Regards, M.Bujji Babu. ----- Original Message ----- From: "Heikki Linnakangas" To: "Bujji Babu" Cc: pgsql-bugs@postgresql.org, pgsql-sql@postgresql.org Sent: Thursday, 6 October, 2016 12:07:27 PM Subject: Re: [BUGS] SQL Bug On 10/06/2016 01:59 PM, Bujji Babu wrote: > Dear Heikki, > > Still same error msg. > > select * from connectby('emp','empid','mgrid','1','0') > AS t(keyid text, parent_keyid text, level int); That's not what I typed. The keyid and parent_keyid columns need to be integers, not text, like in the table. - Heikki -- Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql