Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 577B4475C5F for ; Wed, 27 Nov 2002 16:27:02 -0500 (EST) Received: from spider.crnet.com (spider.crnet.com [208.242.241.92]) by postgresql.org (Postfix) with ESMTP id 3DAA9475A3F for ; Wed, 27 Nov 2002 16:27:01 -0500 (EST) Received: from mondas (inferno.limolink.com [206.24.61.91]) by spider.crnet.com (8.12.6/8.12.6) with SMTP id gARLJ8r2030721 for ; Wed, 27 Nov 2002 15:19:08 -0600 Message-ID: <038b01c2965b$b1a8df60$6501a8c0@mondas> From: "James N. Potts" To: References: Subject: Re: inserting blob data Date: Wed, 27 Nov 2002 15:26:05 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Scanned-By: MIMEDefang 2.21 (www . roaringpenguin . com / mimedefang) X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/178 X-Sequence-Number: 2355 I just wanted to chime in that I'm having the same problem, with basically the same config. In fact, I just joined this mailing list because of it. -Jim Potts ----- Original Message ----- From: "Bruce Holt" To: Cc: Sent: Wednesday, November 27, 2002 2:48 PM Subject: Re: [ODBC] inserting blob data > "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