pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedODBC ErrorCode issue
2+ messages / 2 participants
[nested] [flat]
* ODBC ErrorCode issue
@ 2005-12-20 10:17 zhaoxin <zhaox@necas.nec.com.cn>
2005-12-21 13:12 ` Re: ODBC ErrorCode issue Ludek Finstrle <luf@pzkagis.cz>
0 siblings, 1 reply; 2+ messages in thread
From: zhaoxin @ 2005-12-20 10:17 UTC (permalink / raw)
To: pgsql-odbc
Hi.
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 ?
Regards,
zhao xin
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: ODBC ErrorCode issue
2005-12-20 10:17 ODBC ErrorCode issue zhaoxin <zhaox@necas.nec.com.cn>
@ 2005-12-21 13:12 ` Ludek Finstrle <luf@pzkagis.cz>
0 siblings, 0 replies; 2+ messages in thread
From: Ludek Finstrle @ 2005-12-21 13:12 UTC (permalink / raw)
To: zhaoxin <zhaox@necas.nec.com.cn>; +Cc: 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:
http://pgfoundry.org/tracker/index.php?func=detail&aid=1000495&group_id=1000125&atid=538
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.
Regards,
Luf
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2005-12-21 13:12 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-12-20 10:17 ODBC ErrorCode issue zhaoxin <zhaox@necas.nec.com.cn>
2005-12-21 13:12 ` Ludek Finstrle <luf@pzkagis.cz>
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