Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 81DFE15A7DE0 for ; Fri, 13 Apr 2012 07:52:52 -0300 (ADT) Received: from mail54.messagelabs.com ([216.82.241.131]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SIe7V-0008WF-DY for pgsql-bugs@postgresql.org; Fri, 13 Apr 2012 10:52:51 +0000 X-Env-Sender: Biju.George@ust-global.com X-Msg-Ref: server-10.tower-54.messagelabs.com!1334314352!11065629!1 X-Originating-IP: [203.99.41.130] X-StarScan-Version: 6.5.7; banners=-,-,- X-VirusChecked: Checked Received: (qmail 13869 invoked from network); 13 Apr 2012 10:52:34 -0000 Received: from smtpintpos.ust-global.com (HELO smtpintpos.ust-global.com) (203.99.41.130) by server-10.tower-54.messagelabs.com with DHE-RSA-AES256-SHA encrypted SMTP; 13 Apr 2012 10:52:34 -0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtpintpos.ust-global.com (UST Global Email Server) with ESMTP id 012FCF68C2; Fri, 13 Apr 2012 16:22:32 +0530 (IST) Received: from smtpintpos.ust-global.com ([127.0.0.1]) by localhost (smtpintpos.ust-global.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id R69v1T1LhVSF; Fri, 13 Apr 2012 16:22:31 +0530 (IST) Received: from TRVMSG2.ustr.com (unknown [10.10.1.80]) by smtpintpos.ust-global.com (UST Global Email Server) with ESMTP id 5A55AF68C1; Fri, 13 Apr 2012 16:22:31 +0530 (IST) Received: from TRVMSG.ustr.com ([10.10.1.166]) by TRVMSG2.ustr.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 13 Apr 2012 16:22:31 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CD1963.861E70ED" Subject: Re: BUG #6583: for loop cursor Date: Fri, 13 Apr 2012 16:18:17 +0530 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [BUGS] BUG #6583: for loop cursor Thread-Index: Ac0YvaZaZyzt9q4VTVq6jvxSh4wdCQApUjVw References: <2849.1334242348@sss.pgh.pa.us> <3119.1334243077@sss.pgh.pa.us> From: "Biju George (UST, IND)" To: "Tom Lane" Cc: X-OriginalArrivalTime: 13 Apr 2012 10:52:31.0292 (UTC) FILETIME=[8684CFC0:01CD1963] X-Pg-Spam-Score: -4.2 (----) X-Archive-Number: 201204/81 X-Sequence-Number: 32832 This is a multi-part message in MIME format. ------_=_NextPart_001_01CD1963.861E70ED Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Tom, =20 Well I thought I was running version "8.4.*" but it turned out to be = "8.2.14" when I did a show server_version in pgAdminIII. So, is this a = known issue?=20 Well I won't possibly be able to upgrade the version as its bundled with = the DB. :-( =20 Cordially, Biju George UST Global | Trivandrum ________________________________ From: Tom Lane [mailto:tgl@sss.pgh.pa.us] Sent: Thu 4/12/2012 8:34 PM To: Biju George (UST, IND) Cc: pgsql-bugs@postgresql.org Subject: Re: [BUGS] BUG #6583: for loop cursor=20 I wrote: > Works for me in 8.4.11 (after correcting record_var.id -> = record_var.pid > at line 6). Maybe you need to update to some more recent version than > 8.4.0. Actually, I do get the described behavior when trying this in 8.3, which does not have FOR-over-cursor. So maybe the more appropriate question is whether you're really running 8.4.anything. regards, tom lane ------_=_NextPart_001_01CD1963.861E70ED Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Re: [BUGS] BUG #6583: for loop = cursor=0A= =0A= =0A= =0A=
=0A=
Hi = Tom,
=0A=
 
=0A=
Well I thought I was running = version "8.4.*" but it turned out to be "8.2.14" when I did a show = server_version in pgAdminIII. So, is this a known issue? =
=0A=
Well I won't possibly be able = to upgrade the version as its bundled with the DB. :-(
=0A=
 
=0A=
=0A=
Cordially,
=0A=
Biju George
=0A=
UST Global | = Trivandrum
=0A=

=0A=
=0A= From: Tom Lane = [mailto:tgl@sss.pgh.pa.us]
Sent: Thu 4/12/2012 8:34 = PM
To: Biju George (UST, IND)
Cc: = pgsql-bugs@postgresql.org
Subject: Re: [BUGS] BUG #6583: for = loop cursor

=0A=
=0A=

I wrote:
> Works for me in 8.4.11 (after = correcting record_var.id -> record_var.pid
> at line 6).  = Maybe you need to update to some more recent version than
> = 8.4.0.

Actually, I do get the described behavior when trying this = in 8.3,
which does not have FOR-over-cursor.  So maybe the more = appropriate
question is whether you're really running = 8.4.anything.

        =         =         regards, tom = lane

------_=_NextPart_001_01CD1963.861E70ED--