Re: JDBC error codes to detect duplicates?

Поиск
Список
Период
Сортировка
От David Wall
Тема Re: JDBC error codes to detect duplicates?
Дата
Msg-id 02df01c0a282$c352b700$5a2b7ad8@expertrade.com
обсуждение исходный текст
Ответ на Re: JDBC error codes to detect duplicates?  (Max Khon <fjoe@iclub.nsu.ru>)
Ответы Re: JDBC error codes to detect duplicates?
Список pgsql-interfaces
> Is there a plan for the JDBC to return the codes for postgres back to
the program?  I running 7.1beta4 now.
>
>> AFAIK clean implementation of such feature is not possible because
backend
>> protocol does not have error codes (only error messages)

Too bad.  Is the definitive list of error messages documented? (Probably
yes, but where?)  Perhaps we could write an ugly implementation that would
parse the error message and return meaningful errors codes so that all users
don't suffer the same problem.

Thoughts?

David




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

Предыдущее
От: Max Khon
Дата:
Сообщение: Re: JDBC error codes to detect duplicates?
Следующее
От: "Chris Haas"
Дата:
Сообщение: connection problems odbc-PostgreSQL