Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

sqldatasource dal, wwwxxxenden, convert raid5 to raid 10 mdadm, apache force chunked, nrao wwwxxx, xxxxxdup, procmail change subject header, wwwXxx not20, Wwwxxx.doks sas, linux raid resync after reboot

Links

XODOX
Impressum

#1: Fwd: ODBC breaks on some machines

Posted on 2011-09-12 11:54:43 by Albert

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

<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
&nbsp;Hi,<br>
<br>
We&nbsp; have a strange problem going on. The postgres ODBC breaks down
at random at some machines. <br>
<br>
What happens is:&nbsp; Via ODBC we call an postgresql function (as
example this: ) : <br>
<br>
select getmynumber('abc') as result;<br>
<br>
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:''&nbsp; The only thing I can find in the odbc
logging that is different opposed to the correct situation:
QLExtendedFetch&nbsp; with return code -1 (SQL_ERROR) <br>
<br>
It seems random that this occurs. I cannot relate it to a windows
patch, nor another software installation nor our own software.&nbsp; 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) <br>
<br>
The client application uses MFC ODBC.<br>
<br>
I have logging of odbc, mylog and psqlodc available.<br>
<br>
Can somebody help with this? <br>
Kind regards,<br>
Albert Wessel<br>
<b><br>
</b>
</body>
</html>

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

Report this message

#2: Re: Fwd: ODBC breaks on some machines

Posted on 2011-09-30 14:28:25 by Hiroshi Saito

Hi.

Sorry very late reaction.

The method of CURSOR which you use may influence a result.
Would you be shown the reproducible code, if possible?

and, Please send mylog to Inoue-san with me.
I appreciate your perseverance. thanks.

Regards,
Hiroshi Saito

(2011/09/12 18:54), Albert wrote:
>
>
> 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
> *
> *


--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc

Report this message