Skip site navigation (1) Skip section navigation (2)

Re: inserting blob data

From: "Bruce Holt" <bj_holt(at)hotmail(dot)com>
To: tgl(at)sss(dot)pgh(dot)pa(dot)us
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: inserting blob data
Date: 2002-11-27 20:48:13
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-odbc
"Bruce Holt" <bj_holt(at)hotmail(dot)com> 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:

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.

Bruce Holt

Protect your PC - get VirusScan Online


pgsql-odbc by date

Next:From: James N. PottsDate: 2002-11-27 21:26:05
Subject: Re: inserting blob data
Previous:From: Tom LaneDate: 2002-11-27 20:25:03
Subject: Re: Can't get more than 255 chars out of memo field in Acc

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group