Re: error messages? - Mailing list pgsql-odbc

From Ludek Finstrle
Subject Re: error messages?
Date
Msg-id 20060125114146.GA3720@soptik.pzkagis.cz
Whole thread Raw
In response to Re: patch: error messages?  ("Milton" <milton.siqueira@mapcardoso.com.br>)
List pgsql-odbc
> However, i expected that the error number is in the property
> "rdoError(0).number", not in description, because i guess it´s a default in
> the others DB. In the Oracle, Informix and Sqlserver drive, work like this.
>
> Finally, I think the best would be been in the place of the 7 it went the
> error number of DB.
>
> You are more experience than i . What do you think about that?

I'm not much more experienced than you. psqlODBC return 7 for long
time so I don't want change it in 08.01 life cycle. It could break
many application which could depend on 7.

I think you may be able to ask for SQLSTATE separately from description.
BTW SQLSTATE is database backend independant so it could be better
to support SQLSTATE instead of native error number which differ between
databases.

Regards,

Luf

pgsql-odbc by date:

Previous
From: "nico franken"
Date:
Subject: migration tables
Next
From: "Dave Page"
Date:
Subject: Re: Slow query through ODBC