Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id CB1B4632F50 for ; Fri, 5 Feb 2010 18:51:00 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 82675-01 for ; Fri, 5 Feb 2010 22:50:35 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by mail.postgresql.org (Postfix) with SMTP id 7A8C9632D07 for ; Fri, 5 Feb 2010 18:50:49 -0400 (AST) Received: (qmail 20970 invoked by uid 512); 5 Feb 2010 22:24:05 -0000 X-Authentication: inoue was authenticated by sd.tpf.co.jp at 5 Feb 2010 22:24:05 -0000 Received: from unknown (HELO ?192.168.24.51?) (122.249.213.164) by sd.tpf.co.jp with SMTP; 5 Feb 2010 22:24:05 -0000 Message-ID: <4B6C9A7D.40403@tpf.co.jp> Date: Sat, 06 Feb 2010 07:23:57 +0900 From: Hiroshi Inoue User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; ja; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.0 MIME-Version: 1.0 To: Pairat Paisalyakit CC: pgsql-odbc@postgresql.org Subject: Re: Error when update VarBinary field C# psqlodbc_08_04_0200 References: <000001caa63b$b9891310$2c9b3930$@rachada.com> In-Reply-To: <000001caa63b$b9891310$2c9b3930$@rachada.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=-10 required=5 tests=BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 201002/2 X-Sequence-Number: 10189 Hi Pairat, Pairat Paisalyakit wrote: > Hi, > > After upgrade from psqlodbc_08_04_0100 to psqlodbc_08_04_0200, I could > not update System.Data.Odbc.OdbcType.VarBinary field anymore. Could you send me directly the Mylog output? regards, Hiroshi Inoue > 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