Large Object Problem

From: "John K(dot) Herreshoff" <jkherr(at)centurytel(dot)net>
To: <pgsql-odbc(at)postgresql(dot)org>
Subject: Large Object Problem
Date: 2003-09-05 22:25:29
Message-ID: 200309051825.29390.jkherr@centurytel.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

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.

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Brian Furey 2003-09-06 14:08:49 Date Formats
Previous Message Hiroshi Inoue 2003-09-05 22:00:10 Re: psqlODBC Bug Report - Issue with Reverse Engineering PostgreSQL Database in Visio 2002