Re: error messages?

Поиск
Список
Период
Сортировка
От Ludek Finstrle
Тема Re: error messages?
Дата
Msg-id 20060125114146.GA3720@soptik.pzkagis.cz
обсуждение исходный текст
Ответ на Re: patch: error messages?  ("Milton" <milton.siqueira@mapcardoso.com.br>)
Список 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 по дате отправления:

Предыдущее
От: "nico franken"
Дата:
Сообщение: migration tables
Следующее
От: "Dave Page"
Дата:
Сообщение: Re: Slow query through ODBC