Problem using ODBC from .NET framework

From: Shelby Cain <alyandon(at)yahoo(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Problem using ODBC from .NET framework
Date: 2006-02-08 15:12:54
Message-ID: 20060208151254.32783.qmail@web50108.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-odbc

Apologies for re-posting... I fat-fingered the odbc list address :-/

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vivek Khera 2006-02-08 15:18:36 Re: Syncing Databases Weekly
Previous Message Shelby Cain 2006-02-08 15:10:23 Problem using ODBC from .NET framework

Browse pgsql-odbc by date

  From Date Subject
Next Message Bart Degryse 2006-02-08 15:18:00 Re: COPY FROM
Previous Message Trewern, Ben 2006-02-08 14:46:50 Re: Obtain Serial Value