ECPG: AUTOCOMMIT and CURSORs - Mailing list pgsql-admin

From A J
Subject ECPG: AUTOCOMMIT and CURSORs
Date
Msg-id 812668.19871.qm@web120007.mail.ne1.yahoo.com
Whole thread Raw
Responses Re: ECPG: AUTOCOMMIT and CURSORs
List pgsql-admin
I am seeing some funny behavior on using both:
EXEC SQL SET AUTOCOMMIT TO ON;
and
CURSORS (EXEC SQL DECLARE ............., EXEC SQL FETCH NEXT FROM .............)

On autocommit on (either through above method or precompiling with -t option), the cursor does not return any rows. On disabling autocommit, I get the required number of rows from the cursor.

Any idea what could be going on ? 

Thanks!
AJ

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Default session timeout in PG?
Next
From: "Kevin Grittner"
Date:
Subject: Re: ECPG: AUTOCOMMIT and CURSORs