Re: ECPG Preprocessor throws Syntax Error [Devel Repository] - Mailing list pgsql-bugs

From Tom Lane
Subject Re: ECPG Preprocessor throws Syntax Error [Devel Repository]
Date
Msg-id 6192.1229096255@sss.pgh.pa.us
Whole thread Raw
In response to Re: ECPG Preprocessor throws Syntax Error [Devel Repository]  (Zahid Khan <khanzahid235@yahoo.com>)
List pgsql-bugs
Zahid Khan <khanzahid235@yahoo.com> writes:
>> I might be missing something here, but where do you see the bug? The cursor is
>> indeed already defined.

> What i understand here is,we should be able to DECLARE cursor again
> with the same name if that is CLOSE already.

No, CLOSE reverses the effect of OPEN, not of DECLARE.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Zahid Khan
Date:
Subject: Re: ECPG Preprocessor throws Syntax Error [Devel Repository]
Next
From: "Gurjeet Singh"
Date:
Subject: Re: BUG #4568: sporadic error doing COUNT(*) on empty table