pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Albert <awessel@masterap.nl>
To: pgsql-odbc@postgresql.org
Subject: Fwd: ODBC breaks on some machines
Date: Mon, 12 Sep 2011 11:54:43 +0200
Message-ID: <4E6DD6E3.2040605@masterap.nl> (raw)
In-Reply-To: <4E6DCD24.2030806@swretail.nl>
References: <4E6DCD24.2030806@swretail.nl>



  Hi,

We  have a strange problem going on. The postgres ODBC breaks down at 
random at some machines.

What happens is:  Via ODBC we call an postgresql function (as example 
this: ) :

select getmynumber('abc') as result;

This works fine we can use the result in our application. However, on 
some of our customers PC's this suddenly stops working. We get an ODBC 
error Error -1:''  The only thing I can find in the odbc logging that is 
different opposed to the correct situation: QLExtendedFetch  with return 
code -1 (SQL_ERROR)

It seems random that this occurs. I cannot relate it to a windows patch, 
nor another software installation nor our own software.  The problem, 
over the course of 2 years, happens every now and then on some random 
pc. The only thing we have found to get it working again is to reinstall 
Windows. (it has happened now on several XP and several Windows 7 machines)

The client application uses MFC ODBC.

I have logging of odbc, mylog and psqlodc available.

Can somebody help with this?
Kind regards,
Albert Wessel
*
*

view thread (2+ messages)  latest in thread

Message-ID: <4E6DD6E3.2040605@masterap.nl>
Permalink:  ../4E6DD6E3.2040605@masterap.nl/
Also on:    postgresql.org/message-id/4E6DD6E3.2040605@masterap.nl

 · 

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: awessel@masterap.nl
  Subject: Re: Fwd: ODBC breaks on some machines
  In-Reply-To: <4E6DD6E3.2040605@masterap.nl>
  References: <4E6DCD24.2030806@swretail.nl> <4E6DD6E3.2040605@masterap.nl>

* 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