Problem using ODBC from .NET framework

Поиск
Список
Период
Сортировка
От Shelby Cain
Тема Problem using ODBC from .NET framework
Дата
Msg-id 20060208151023.55449.qmail@web50107.mail.yahoo.com
обсуждение исходный текст
Список pgsql-general
Hi all.  I having an issue with the 8.01.01.02 ODBC driver that is
installed via the 8.1.x Windows installer.

Whenever there is an error on the connection (eg: trying to execute a
sql statement that has a syntax error as an example) the
System.Data.OdbcConnection object throws an exception - which is
entirely expected.  However, the error message returned is "The
connection is dead".  I have to go into the postgresql log files to try
and locate the actual error.

The same code used to work (meaning it returned the text of the
postgresql error message in the exception) for me with 8.0.x so I'm
kind of at a loss as to what has changed that would cause this
behavior.

Anyone have any ideas whats going on or how I can get back to the 8.0.x behavior?

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

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

Предыдущее
От: Mage
Дата:
Сообщение: plruby
Следующее
От: Vivek Khera
Дата:
Сообщение: Re: Syncing Databases Weekly