Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 5EDEAB5DBD1 for ; Mon, 12 Sep 2011 06:54:52 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 73106-07 for ; Mon, 12 Sep 2011 09:54:46 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mailhandling.swretail.nl (mailhandling.swretail.nl [82.94.250.78]) by mail.postgresql.org (Postfix) with ESMTP id 0AB43B5DBC4 for ; Mon, 12 Sep 2011 06:54:45 -0300 (ADT) Received: from [10.10.10.50] (a83-161-130-78.adsl.xs4all.nl [83.161.130.78]) by mailhandling.swretail.nl (Postfix) with ESMTP id DC92ED0053 for ; Mon, 12 Sep 2011 11:41:10 +0200 (CEST) Message-ID: <4E6DD6E3.2040605@masterap.nl> Date: Mon, 12 Sep 2011 11:54:43 +0200 From: Albert Reply-To: awessel@masterap.nl User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Fwd: ODBC breaks on some machines References: <4E6DCD24.2030806@swretail.nl> In-Reply-To: <4E6DCD24.2030806@swretail.nl> X-Opacus-Archived: none X-Forwarded-Message-Id: <4E6DCD24.2030806@swretail.nl> Content-Type: multipart/alternative; boundary="------------090008030003060204060008" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.899 tagged_above=-10 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 201109/6 X-Sequence-Number: 10703 This is a multi-part message in MIME format. --------------090008030003060204060008 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 * * --------------090008030003060204060008 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit

 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

--------------090008030003060204060008--