pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Brent Smith <brent.smith@kepware.com>
To: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
To: inoue@tpf.co.jp <inoue@tpf.co.jp>
Subject: Re: Unknown exceptions possibly originating from psqlodbc
Date: Wed, 29 Apr 2015 15:09:27 -0700
Message-ID: <55415697.8020504@aklaver.com> (raw)
In-Reply-To: <BLUPR04MB308893A5201390C40FC5B45E0D70@BLUPR04MB308.namprd04.prod.outlook.com>
References: <BLUPR04MB308893A5201390C40FC5B45E0D70@BLUPR04MB308.namprd04.prod.outlook.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

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 <http://www.kepware.com/;
>
> Email: Brent.Smith@kepware.com <mailto:Brent.Smith@kepware.com>
>
> Follow Us: Facebook <https://www.facebook.com/kepware; | Twitter
> <https://twitter.com/Kepware; | LinkedIn
> <http://www.linkedin.com/company/kepware-technologies; | YouTube
> <http://www.youtube.com/user/kepware;
>


-- 
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



view thread (3+ messages)  latest in thread

Message-ID: <55415697.8020504@aklaver.com>
Permalink:  ../55415697.8020504@aklaver.com/
Also on:    postgresql.org/message-id/55415697.8020504@aklaver.com

 · 

reply

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, brent.smith@kepware.com, inoue@tpf.co.jp
  Subject: Re: Unknown exceptions possibly originating from psqlodbc
  In-Reply-To: <55415697.8020504@aklaver.com>
  References: <BLUPR04MB308893A5201390C40FC5B45E0D70@BLUPR04MB308.namprd04.prod.outlook.com> <55415697.8020504@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