Re: VS: Prepared statement error with UseServerSidePrepare=1

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: pgsql-odbc <pgsql-odbc(at)postgresql(dot)org>
Cc: lev(dot)bukovski(at)teliasonera(dot)com
Subject: Re: VS: Prepared statement error with UseServerSidePrepare=1
Date: 2014-05-30 13:42:15
Message-ID: 53888AB7.3090401@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

On 05/30/2014 05:12 AM, lev(dot)bukovski(at)teliasonera(dot)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(dot)klaver(at)aklaver(dot)com

Browse pgsql-odbc by date

  From Date Subject
Next Message John Smith 2014-05-30 19:04:30 Re: Problems using SQLFetch on prepared INSERT with RETURNING clause
Previous Message Heikki Linnakangas 2014-05-30 07:33:35 Re: Fwd: Typo fixes in Solution.pm, part of MSVC scripts