Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YnaAh-0008IX-IM for pgsql-odbc@arkaria.postgresql.org; Wed, 29 Apr 2015 22:09:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YnaAg-0000Jh-Nd for pgsql-odbc@arkaria.postgresql.org; Wed, 29 Apr 2015 22:09:34 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YnaAf-0000JK-Vc for pgsql-odbc@postgresql.org; Wed, 29 Apr 2015 22:09:34 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1YnaAc-0006qa-RO for pgsql-odbc@postgresql.org; Wed, 29 Apr 2015 22:09:32 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 539F0207A1 for ; Wed, 29 Apr 2015 18:09:28 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Wed, 29 Apr 2015 18:09:28 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=3sb5x1+VUeyTHJ8nZp744wMxceg=; b=dz4E54 P+cYCkcrbNCeV3R4uFRvKqf+H/YxNA5+7E6cwab8F72hILgrxcnFXYpMg0XysOzV Nu2y0xbU5hALzyrPvBXMm0bRG0oXMRROWKjIwCEkj8KhBpgHOa4U3kHKPm/UF3oM pT/JcD6GSgV6SF9iz54omwh/YfZ+Q7Xn9eXyE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=3sb5x1+VUeyTHJ8 nZp744wMxceg=; b=i0IR5Iq8uYigr7uzqrxrpkvUa2IBR2Ug1tpfyQ8ND3JIiQP 6ZYvg1+C7FEOmcmTraMJUYbeJ4uDJylUAOjH6Q9z8dwrxvTICSIJ3JPLHdV5W3Ei msM/gIEWd2zthPdT51JemKGQbQZ3np9slTUeImdB15ESFGkelHT6a7fqeN38= X-Sasl-enc: 1TXPGWguH6jjrcVsp++UZqtiCzEPrjKLtXuTka7oq4tL 1430345367 Received: from killi.site (unknown [50.197.80.2]) by mail.messagingengine.com (Postfix) with ESMTPA id 99A7BC0001A; Wed, 29 Apr 2015 18:09:27 -0400 (EDT) Message-ID: <55415697.8020504@aklaver.com> Date: Wed, 29 Apr 2015 15:09:27 -0700 From: Adrian Klaver User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Brent Smith , "pgsql-odbc@postgresql.org" , "inoue@tpf.co.jp" Subject: Re: Unknown exceptions possibly originating from psqlodbc References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit 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 04/29/2015 06:17 AM, Brent Smith wrote: > Hello, > > I am a software engineer working for Kepware Technologies. We provide > control and monitoring software for automation devices. One of our > products is an application that stores device data into a customer’s > database. We support various database products, Postgres among them. > > I was given your contact information by one of our customers, John > Psihos at ProcessLinx. > > We have been working on an issue with him for several months now, where > we are intermittently receiving an unknown exception when trying to > update a record set (an MFC call that ultimately goes to the ODBC > driver). We have tested our code, as well as MFC (as much as possible) > and have found no issues. The most likely area left seems to be the ODBC > driver. We are using version 9.3.400 of the ODBC driver, and PostgreSQL > 9.4. Once we receive this unknown exception from the record set, it is > unusuable (as if it’s internal state is bad, although I haven’t been > able to discover any evidence of this on my side), and generates further > unknown exceptions when I try to close or delete it. For my clarification, does unknown = no trace? In other words, is there evidence available that it even happens? If there is evidence, can you post it here? > > My primary question is, do you have any insight into what exceptions you > might throw in the case of a record set update? Further, are there any > tools, header files, debug versions, logging utilities, etc. that you > could provide to help us diagnose this problem? https://odbc.postgresql.org/faq.html#2.4 > > Any help you could provide in this matter would be appreciated. > > Regards, > > *Brent Smith*** > > Senior Software Engineer | Kepware Technologies > > Email: Brent.Smith@kepware.com > > Follow Us: Facebook | Twitter > | LinkedIn > | YouTube > > -- 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