From: John K. Herreshoff <jkherr@centurytel.net>
To: pgsql-odbc@postgresql.org
Subject: Re: Large Object Problem: solution
Date: Wed, 10 Sep 2003 20:28:37 -0400
Message-ID: <200309102028.37485.jkherr@centurytel.net> (raw)
In-Reply-To: <200309051825.29390.jkherr@centurytel.net>
References: <200309051825.29390.jkherr@centurytel.net>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: jkherr@centurytel.net
Subject: Re: Large Object Problem: solution
In-Reply-To: <200309102028.37485.jkherr@centurytel.net>
References: <200309051825.29390.jkherr@centurytel.net> <200309102028.37485.jkherr@centurytel.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox