Re: [HACKERS] ECPG fix for mixed case cursor names

2010-09-10 Thread Michael Meskes
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 cod

Re: [HACKERS] ECPG fix for mixed case cursor names

2010-09-01 Thread Robert Haas
2010/8/25 Boszormenyi Zoltan : > 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

[HACKERS] ECPG fix for mixed case cursor names

2010-08-25 Thread Boszormenyi Zoltan
Hi, 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 us