Re: Error codes returned by SQLGetDiagRec

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: Error codes returned by SQLGetDiagRec
Дата
Msg-id CADK3HHJ3DN3rQKsN6r9+7XNNJ8NRsLOOAUmWMTqSTjGrS8=f8Q@mail.gmail.com
обсуждение исходный текст
Ответ на Error codes returned by SQLGetDiagRec  (Abhishek Kumar <abhishek.aak0@gmail.com>)
Список pgsql-odbc
Hi Abhishek,

Can you please file this issue on github https://github.com/postgresql-interfaces/psqlodbc/issues

Dave Cramer
www.postgres.rocks


On Fri, 27 Sept 2024 at 11:32, Abhishek Kumar <abhishek.aak0@gmail.com> wrote:
Hi,

The native error code returned by SQLGetDiagRec seems to be very generic. Example : It returns the value 1 in case of "duplicate key error". 
Do we have an exhaustive list of native error code with the corresponding error for PostgreSQL ODBC driver ? ( i am assuming a one to one mapping of error code to an error

Please advise me on the same. I need to do some handling depending on the error code i get.

Regards,
Abhishek Kumar

В списке pgsql-odbc по дате отправления: