ECPG ERROR FOR "exec sql BEGIN"

From: "chengong(at)kobundo(dot)ne(dot)jp" <chengong(at)kobundo(dot)ne(dot)jp>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: ECPG ERROR FOR "exec sql BEGIN"
Date: 2001-11-30 12:59:28
Message-ID: 200111301240.VAA09398@kobundo.ne.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces


I have used ECPG in my program.

but run "exec sql BEGIN" after connect, have a error message like:

"sql error BEGIN: already a transaction in progress"

the source is like:

-------------
exec sql connect to unix:postgresql://localhost/dbname user postgres;
exec sql BEGIN;

exec sql INSERT INTO .......

exec sql COMMIT;
exec sql disconnect;
-------------

Help me. Thanks very much

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message jtv 2001-12-01 17:56:03 libpqxx update
Previous Message Aryo Sukarno 2001-11-30 09:43:58 Re: libpq Newbie question