Re: VS: Prepared statement error with UseServerSidePrepare=1 - Mailing list pgsql-odbc

From Adrian Klaver
Subject Re: VS: Prepared statement error with UseServerSidePrepare=1
Date
Msg-id 53888AB7.3090401@aklaver.com
Whole thread Raw
In response to Prepared statement error with UseServerSidePrepare=1  (<lev.bukovski@teliasonera.com>)
List pgsql-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


pgsql-odbc by date:

Previous
From: Christoph Berg
Date:
Subject: "deprecated" test needs alternative output file
Next
From: John Smith
Date:
Subject: Re: Problems using SQLFetch on prepared INSERT with RETURNING clause