pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Pairat Paisalyakit <pairat@rachada.com>
To: pgsql-odbc@postgresql.org
Subject: Error when update VarBinary field C# psqlodbc_08_04_0200
Date: Fri, 5 Feb 2010 15:17:56 +0700
Message-ID: <000001caa63b$b9891310$2c9b3930$@rachada.com> (raw)

Hi,

 

After upgrade from psqlodbc_08_04_0100 to psqlodbc_08_04_0200, I could not
update System.Data.Odbc.OdbcType.VarBinary field anymore.

 

Programming language is C#.

 

This is the error message:

 

{System.InvalidOperationException: The connection has been disabled. --->
System.Data.Odbc.OdbcException: ERROR [08S01] commnication error while
preapreand_describe

   --- End of inner exception stack trace ---

   at System.Data.Odbc.OdbcConnection.ConnectionIsAlive(Exception
innerException)

   at System.Data.Odbc.OdbcConnection.HandleErrorNoThrow(OdbcHandle
hrHandle, RetCode retcode)

   at System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle,
RetCode retcode)

   at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior
behavior, String method, Boolean needReader, Object[] methodArguments,
SQL_API odbcApiMethod)

   at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior
behavior, String method, Boolean needReader)

   at System.Data.Odbc.OdbcCommand.ExecuteNonQuery()

 

 

The connection is opened before update.

 

Thank you.

 

Pairat

 

view thread (2+ messages)  latest in thread

Message-ID: <000001caa63b$b9891310$2c9b3930$@rachada.com>
Permalink:  ../000001caa63b$b9891310$2c9b3930$@rachada.com/
Also on:    postgresql.org/message-id/000001caa63b$b9891310$2c9b3930$@rachada.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: pairat@rachada.com
  Subject: Re: Error when update VarBinary field C# psqlodbc_08_04_0200
  In-Reply-To: <000001caa63b$b9891310$2c9b3930$@rachada.com>
  References: <000001caa63b$b9891310$2c9b3930$@rachada.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox