Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 793F59FB4F8 for ; Fri, 2 Mar 2007 18:56:42 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 40276-09 for ; Fri, 2 Mar 2007 18:56:31 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sd.tpf.co.jp (dns.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id CADBA9FB656 for ; Fri, 2 Mar 2007 18:51:33 -0400 (AST) Received: (qmail 3404 invoked from network); 3 Mar 2007 07:51:31 +0900 X-Authentication: inoue was authenticated by mail.tpf.co.jp at 3 Mar 2007 07:51:31 +0900 Received: from unknown (HELO ?192.168.11.2?) (219.61.40.6) by mail.tpf.co.jp with SMTP; 3 Mar 2007 07:51:31 +0900 Message-ID: <45E8AA71.1030509@tpf.co.jp> Date: Sat, 03 Mar 2007 07:51:29 +0900 From: Hiroshi Inoue User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: mengel@notes.cc.sunysb.edu CC: pgsql-odbc@postgresql.org Subject: Re: ByteA as LO parameter References: In-Reply-To: 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=0 required=5 tests=BAYES_50 X-Spam-Level: X-Archive-Number: 200703/19 X-Sequence-Number: 8697 mengel@notes.cc.sunysb.edu wrote: > I've been trying to set the Bytea as LO parameter programmatically via VB. I can't seem to get it right. Has anyone done this? > What's the name of the parameter? I've tried ByteaAsLongVarBinary, but that was purely a guess. I found it in the registry. Needless to say it didn't work. Any thoughts? Please add ByteaAsLongVarBinary=1 to your connection string. regards, Hiroshi Inoue