Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group