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 E7262D1B8FC for ; Fri, 5 Sep 2003 22:26:52 +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 36245-01 for ; Fri, 5 Sep 2003 19:26:21 -0300 (ADT) Received: from granger.centurytel.net (granger.centurytel.net [209.142.136.117]) by svr1.postgresql.org (Postfix) with ESMTP id B0419D1B8F5 for ; Fri, 5 Sep 2003 19:26:20 -0300 (ADT) Received: from 192.168.1.3 (pppoe0471.grp.centurytel.net [64.91.26.218]) by granger.centurytel.net (8.12.9/8.12.9) with ESMTP id h85MQF9S022694 for ; Fri, 5 Sep 2003 17:26:16 -0500 (CDT) From: "John K. Herreshoff" To: Subject: Large Object Problem Date: Fri, 5 Sep 2003 18:25:29 -0400 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200309051825.29390.jkherr@centurytel.net> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/30 X-Sequence-Number: 3228 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.