From: Adrian Klaver <adrian.klaver@aklaver.com>
To: lev.bukovski@teliasonera.com
Cc: pgsql-odbc <pgsql-odbc@postgresql.org>
Subject: Re: VS: VS: Prepared statement error with UseServerSidePrepare=1
Date: Sun, 01 Jun 2014 13:10:55 -0700
Message-ID: <538B88CF.5020807@aklaver.com> (raw)
In-Reply-To: <619ABD714EEDD84E8E582E993559DB36142AFE35@EXMB12TSTRZ2.tcad.telia.se>
References: <619ABD714EEDD84E8E582E993559DB36142ADA8C@EXMB12TSTRZ2.tcad.telia.se>
<5386608B.4070209@aklaver.com>
<619ABD714EEDD84E8E582E993559DB36142AFDF5@EXMB12TSTRZ2.tcad.telia.se>
<53888AB7.3090401@aklaver.com>
<619ABD714EEDD84E8E582E993559DB36142AFE35@EXMB12TSTRZ2.tcad.telia.se>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
On 06/01/2014 12:19 PM, lev.bukovski@teliasonera.com wrote:
> Rollback is successfull, no problems on that.
>
> Log files in the original message have exact error code and description,
> but like I wrote
>
> on wrong insert I get logical error "duplicate key value violates unique
> constraint "key11_disp_idx". Error while executing the query", but when
> I afterward try to make correct insert, I still get an error from
> psqlodbc "Error while executing the query", which is like a last part of
> the first error.
>
Hmm, not sure what is going on.
I would say you will need to show the full code of what you are doing in
the Prepare/bind/Execute cycle. Hopefully others can see if there is
anything out of place. Would not hurt to crank the psqlodbc logging and
capture that also.
--
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: VS: Prepared statement error with UseServerSidePrepare=1
In-Reply-To: <538B88CF.5020807@aklaver.com>
References: <619ABD714EEDD84E8E582E993559DB36142ADA8C@EXMB12TSTRZ2.tcad.telia.se> <5386608B.4070209@aklaver.com> <619ABD714EEDD84E8E582E993559DB36142AFDF5@EXMB12TSTRZ2.tcad.telia.se> <53888AB7.3090401@aklaver.com> <619ABD714EEDD84E8E582E993559DB36142AFE35@EXMB12TSTRZ2.tcad.telia.se> <538B88CF.5020807@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