From: A J <s5aly@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: ECPG: AUTOCOMMIT and CURSORs
Date: Mon, 4 Oct 2010 12:07:05 -0700 (PDT)
Message-ID: <812668.19871.qm@web120007.mail.ne1.yahoo.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: s5aly@yahoo.com
Subject: Re: ECPG: AUTOCOMMIT and CURSORs
In-Reply-To: <812668.19871.qm@web120007.mail.ne1.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox