Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WrC62-0002ja-Aq for pgsql-odbc@arkaria.postgresql.org; Sun, 01 Jun 2014 20:11:11 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WrC61-0006l3-PU for pgsql-odbc@arkaria.postgresql.org; Sun, 01 Jun 2014 20:11:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WrC5z-0006iW-Ue for pgsql-odbc@postgresql.org; Sun, 01 Jun 2014 20:11:08 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WrC5r-0007Kd-G6 for pgsql-odbc@postgresql.org; Sun, 01 Jun 2014 20:11:06 +0000 Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id C67CA212B5 for ; Sun, 1 Jun 2014 16:10:56 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Sun, 01 Jun 2014 16:10:56 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=aklaver.com; h= message-id:date:from:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; s=mesmtp; bh=fo+X2F7+1IgXbmVgqNPGvVKMdfI=; b=VlKr6ATLqHQ0GA4RkZCRPF3Sre2H FvRKXIlsXsdi+TOA8nkp97xBzAxVJY/jkttaLQLRtsYKW9DoDWtsPEJgWgnivYag mBPceDUp/+jtTu+BUdumsJhwpQB6WWOY0S8cOFeLJ8BxdJbkFH9jzeG7UDvtOreN 24JTM1TqwagupSo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=fo+X2F7+1IgXbmVgqNPGvV KMdfI=; b=HLuUFbWc+tzcXQH/AL9PWFBh70aDcaPvyldqmTY8DzERZiX7UaFFMD pNISX8bYeTabS+MroaGckDOHQUPhP6Y0/D1GeqkoKSRRtxC4hKAkTH32ujN0J/94 dHF0eProMCvWdPPSvZI4QfCk0yREx0M94o0AUHDl5XsuzchUlhJ6w= X-Sasl-enc: AjAusxjaLfA1Wga6zH1SxFfU3jsFTIH1LXLIds23gP0J 1401653456 Received: from panda.site (unknown [65.102.186.57]) by mail.messagingengine.com (Postfix) with ESMTPA id 512F5C007AA; Sun, 1 Jun 2014 16:10:56 -0400 (EDT) Message-ID: <538B88CF.5020807@aklaver.com> Date: Sun, 01 Jun 2014 13:10:55 -0700 From: Adrian Klaver User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: lev.bukovski@teliasonera.com CC: pgsql-odbc Subject: Re: VS: VS: Prepared statement error with UseServerSidePrepare=1 References: <619ABD714EEDD84E8E582E993559DB36142ADA8C@EXMB12TSTRZ2.tcad.telia.se>, <5386608B.4070209@aklaver.com> <619ABD714EEDD84E8E582E993559DB36142AFDF5@EXMB12TSTRZ2.tcad.telia.se>, <53888AB7.3090401@aklaver.com> <619ABD714EEDD84E8E582E993559DB36142AFE35@EXMB12TSTRZ2.tcad.telia.se> In-Reply-To: <619ABD714EEDD84E8E582E993559DB36142AFE35@EXMB12TSTRZ2.tcad.telia.se> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org 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