From: Adrian Klaver <adrian.klaver@aklaver.com>
To: pgsql-odbc <pgsql-odbc@postgresql.org>
Cc: lev.bukovski@teliasonera.com
Subject: Re: VS: Prepared statement error with UseServerSidePrepare=1
Date: Fri, 30 May 2014 06:42:15 -0700
Message-ID: <53888AB7.3090401@aklaver.com> (raw)
In-Reply-To: <619ABD714EEDD84E8E582E993559DB36142AFDF5@EXMB12TSTRZ2.tcad.telia.se>
References: <619ABD714EEDD84E8E582E993559DB36142ADA8C@EXMB12TSTRZ2.tcad.telia.se>
<5386608B.4070209@aklaver.com>
<619ABD714EEDD84E8E582E993559DB36142AFDF5@EXMB12TSTRZ2.tcad.telia.se>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
On 05/30/2014 05:12 AM, lev.bukovski@teliasonera.com wrote:
> I do rollback after any error and commit even after rollback :)
So what does the Postgres log show during this?
You have mentioned errors, but you have not said exactly what errors.
So what are the actual errors?
>
> bool RollBack()
> {
> RETCODE rc=SQLEndTran(SQL_HANDLE_DBC, hdbc, SQL_ROLLBACK);
> if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO)
> {
> return false;
>
> }
> return true;
> }
>
--
Adrian Klaver
adrian.klaver@aklaver.com
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: adrian.klaver@aklaver.com, lev.bukovski@teliasonera.com
Subject: Re: VS: Prepared statement error with UseServerSidePrepare=1
In-Reply-To: <53888AB7.3090401@aklaver.com>
References: <619ABD714EEDD84E8E582E993559DB36142ADA8C@EXMB12TSTRZ2.tcad.telia.se> <5386608B.4070209@aklaver.com> <619ABD714EEDD84E8E582E993559DB36142AFDF5@EXMB12TSTRZ2.tcad.telia.se> <53888AB7.3090401@aklaver.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