From: | "John K(dot) Herreshoff" <jkherr(at)centurytel(dot)net> |
---|---|
To: | <pgsql-odbc(at)postgresql(dot)org> |
Subject: | Re: Large Object Problem: solution |
Date: | 2003-09-11 00:28:37 |
Message-ID: | 200309102028.37485.jkherr@centurytel.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-odbc |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Noel R. Villamor | 2003-09-11 01:47:15 | which odbc driver to use |
Previous Message | Greg Campbell | 2003-09-10 17:27:49 | Re: ADO Case Sensitivity in Win2000/XP |