Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 6A07F475A3F for ; Wed, 27 Nov 2002 15:48:13 -0500 (EST) Received: from hotmail.com (f212.law8.hotmail.com [216.33.241.212]) by postgresql.org (Postfix) with ESMTP id BF7484758E1 for ; Wed, 27 Nov 2002 15:48:12 -0500 (EST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 27 Nov 2002 12:48:13 -0800 Received: from 166.70.135.29 by lw8fd.law8.hotmail.msn.com with HTTP; Wed, 27 Nov 2002 20:48:13 GMT X-Originating-IP: [166.70.135.29] From: "Bruce Holt" To: tgl@sss.pgh.pa.us Cc: pgsql-odbc@postgresql.org Subject: Re: inserting blob data Date: Wed, 27 Nov 2002 13:48:13 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 27 Nov 2002 20:48:13.0883 (UTC) FILETIME=[4DF1A0B0:01C29656] X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/177 X-Sequence-Number: 2354 "Bruce Holt" writes: >> Hmm, the 8K limit has been gone for a long time. You didn't mention >> your Postgres server's version, but I'm betting you need to update >> either your server or your ODBC driver. Possibly both. > PostgreSQL 7.2.2 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.2 >And your ODBC driver was up to date too, right? So much for that >theory. How exactly are you trying to store the blob data? (A code >snippet would be an appropriate answer, probably.) I am using the ADO for VB example found at: http://odbc.postgresql.org/psqlodbc.php?DocID=howto-vblo I have tried three table structures as well: # create table MYTABLE (main integer, object bytea); # create table MYTABLE (main integer, object oid); # create table MYTABLE (main integer, object text); I can insert the data correctly, and save it to the server using the # select lo_export(#####, '/mypath/myfile'); command. I just can't retrieve the blob data via ODBC. Thanks, Bruce Holt _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963