ECPG ERROR FOR "exec sql BEGIN" - Mailing list pgsql-interfaces

From chengong@kobundo.ne.jp
Subject ECPG ERROR FOR "exec sql BEGIN"
Date
Msg-id 200111301240.VAA09398@kobundo.ne.jp
Whole thread Raw
Responses Re: ECPG ERROR FOR "exec sql BEGIN"  (Michael Meskes <meskes@postgresql.org>)
List pgsql-interfaces
<br /><font face="Geneva">I have used ECPG in my program.<br /><br /> but run "exec sql BEGIN" after connect, have a
errormessage like:<br /></font><br /> "sql error BEGIN: already a transaction in progress"<br /><br /><br /> the source
islike:<br /><br /> -------------<br /> exec sql connect to unix:postgresql://localhost/dbname user postgres;<br />
execsql BEGIN;<br /><br /> exec sql INSERT INTO .......<br /><br /> exec sql COMMIT;<br /> exec sql disconnect;<br />
-------------<br/><br /> Help me. Thanks very much<br /> 

pgsql-interfaces by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: libpqxx update
Next
From: Fernando Nasser
Date:
Subject: Fwd: [PATCHES] Libpq support for precision and scale]