ECPG: AUTOCOMMIT and CURSORs

Поиск
Список
Период
Сортировка
От A J
Тема ECPG: AUTOCOMMIT and CURSORs
Дата
Msg-id 812668.19871.qm@web120007.mail.ne1.yahoo.com
обсуждение исходный текст
Ответы Re: ECPG: AUTOCOMMIT and CURSORs
Список 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 по дате отправления: