Re: ECPG fix for mixed case cursor names
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
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-02T02:59:33Z
Lists: pgsql-hackers
2010/8/25 Boszormenyi Zoltan <zb@cybertec.at>: > 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: It might be a good idea to add this to the open CommitFest so we don't lose track of it. https://commitfest.postgresql.org/action/commitfest_view/open -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise Postgres Company