X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id D097AD1B50C for ; Thu, 11 Sep 2003 00:30:13 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 02576-07 for ; Wed, 10 Sep 2003 21:29:45 -0300 (ADT) Received: from granger.centurytel.net (granger.centurytel.net [209.142.136.117]) by svr1.postgresql.org (Postfix) with ESMTP id 980A7D1B4E2 for ; Wed, 10 Sep 2003 21:29:41 -0300 (ADT) Received: from 192.168.1.3 (pppoe0468.grp.centurytel.net [64.91.26.215]) by granger.centurytel.net (8.12.9/8.12.9) with ESMTP id h8B0Ti83001847 for ; Wed, 10 Sep 2003 19:29:44 -0500 (CDT) From: "John K. Herreshoff" To: Subject: Re: Large Object Problem: solution Date: Wed, 10 Sep 2003 20:28:37 -0400 User-Agent: KMail/1.5 References: <200309051825.29390.jkherr@centurytel.net> In-Reply-To: <200309051825.29390.jkherr@centurytel.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200309102028.37485.jkherr@centurytel.net> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/40 X-Sequence-Number: 3238 I had a bit of bad code in my test routine. Once I spotted and repaired it, things work just fine with VB5/ADO and large objects. John. On Friday 05 September 2003 18:25, John K. Herreshoff wrote: > I've setup the large object, and have tried to insert a MS Word document > into a large object field using the example at GBORG. When I get to the > 'Set rs = cmd.Execute,' the PG computer whirrs and clanks for about 40 > seconds, and crashes with this line: LO_IN: error in parsing, and reports > the following line: \320\317\021\340\241\261\032\241\000\000\000\... The > 320 sure is not a byte! > > For what it is worth, the size of the MSDOS file is 35330 bytes. The size > of the 'object' containing the binary data is exactly have the size of the > file / input binary data... I don't know if that is relevant or not. > > I'm running pgsql 7.3.3 on RH linux 9.0 compiled from source, and ado 2.5 > on a win98 box. > > Does anyone know what may be going on here? > > John. > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster