Re: DECLARE doesn't set/reset sqlca after DECLARE cursor - Mailing list pgsql-hackers

From Michael Meskes
Subject Re: DECLARE doesn't set/reset sqlca after DECLARE cursor
Date
Msg-id 20090814133445.GA11667@feivel.credativ.lan
Whole thread Raw
In response to Re: DECLARE doesn't set/reset sqlca after DECLARE cursor  (Boszormenyi Zoltan <zb@cybertec.at>)
Responses Re: DECLARE doesn't set/reset sqlca after DECLARE cursor  (Boszormenyi Zoltan <zb@cybertec.at>)
List pgsql-hackers
On Fri, Aug 14, 2009 at 01:02:07PM +0200, Boszormenyi Zoltan wrote:
> Here are the two test files, with their preprocessed C output.
> Indeed, Informix emits a function call for DECLARE CURSOR.
> And it seems it's not legal to do this outside of a function.

Okay, thanks. I changed several things in your patch mainly due to chosing a
slightly different way to reset the sqlca array and committed that change.
Please test.

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
ICQ: 179140304, AIM/Yahoo/Skype: michaelmeskes, Jabber: meskes@jabber.org
Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!


pgsql-hackers by date:

Previous
From: Boszormenyi Zoltan
Date:
Subject: Re: DECLARE doesn't set/reset sqlca after DECLARE cursor
Next
From: Robert Haas
Date:
Subject: Re: CommitFest 2009-07: Remaining Patches