Re: ECPG fix for mixed case cursor names
Michael Meskes <meskes@postgresql.org>
From: Michael Meskes <meskes@postgresql.org>
To: Boszormenyi Zoltan <zb@cybertec.at>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>, Michael Meskes <meskes@postgresql.org>, Hans-Juergen Schoenig <hs@cybertec.at>
Date: 2010-09-10T10:14:05Z
Lists: pgsql-hackers
On Wed, Aug 25, 2010 at 01:30:41PM +0200, Boszormenyi Zoltan wrote: > PostgreSQL allows in plain SQL to declare a cursor > e.g. in all lower case and fetch from is in all upper case. > We need to allow this from ECPG, too, but strictly when > the cursor name is not in a variable. Otherwise this code > below doesn't notice the cursor's double declaration > and complains using an undeclared cursor: > ... Applied. Thanks for spotting and fixing this. 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 Jabber: michael.meskes at googlemail dot com VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL