Skip site navigation (1) Skip section navigation (2)

Re: ODBC ErrorCode issue

From: Ludek Finstrle <luf(at)pzkagis(dot)cz>
To: zhaoxin <zhaox(at)necas(dot)nec(dot)com(dot)cn>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: ODBC ErrorCode issue
Date: 2005-12-21 13:12:17
Message-ID: (view raw or whole thread)
Lists: pgsql-odbc
>   I have a issue with PostgreSQL ODBC Driver (psqlodbc-08.01.0102)
>   If I use this  driver to connect database , it always return the same
> error code like this : sqlstate = HY000 ,  NativeError = 7 whatever
> error occurred  .
>   so I can not differ the error type with the sqlstate and  NativeError
> that occurred .
>   I try to change the driver to psqlodbc-8_01_0104 , the issue do not
> happen. but what is wrong with psqlodbc-08.01.0102 ?

I don't understand you well. When you get error? We have opposite report.
The psqlodbc-08.01.0102 returns proper sqlstate after statement error
and 08.01.0104 don't. I fixed it. Please take a look at:

If you have another problem feel free to describe it better (e.g. append
your mylog output and comment it when it differs from your expectation.



In response to

pgsql-odbc by date

Next:From: Ludek FinstrleDate: 2005-12-21 13:24:54
Subject: Re: psqlODBC with Visual Studio 2005 and Connection Pooling for newbies
Previous:From: Ludek FinstrleDate: 2005-12-21 13:06:35
Subject: Re: Some problems with psqlODBC

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group