Problem using ODBC from .NET framework - Mailing list pgsql-general

From Shelby Cain
Subject Problem using ODBC from .NET framework
Date
Msg-id 20060208151023.55449.qmail@web50107.mail.yahoo.com
Whole thread Raw
List 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 by date:

Previous
From: Mage
Date:
Subject: plruby
Next
From: Vivek Khera
Date:
Subject: Re: Syncing Databases Weekly