pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nisha Joseph <nishatreesa@hotmail.com>
To: pgsql-odbc@postgresql.org
Subject: Size limit for bytea type?
Date: Wed, 19 Mar 2003 13:25:11 +0000
Message-ID: <F158S2LfFSVE5xc7G2f00009cd3@hotmail.com> (raw)


Hi,

My application ,written in VC++ requires to store photographs  in a postgres 
table. I have been using odbc Driver 7.02.005 with Postgresql 7.1.2 .

I am using the bytea datatype to store photographs.

create table photographs1
       (id  integer ,
       data bytea,
       Name text
       );


Now I cant insert files of more than 100k .I have tried increasing the value 
of Max LongVarchar on the ODBC Driver optons also but this doesnt seem to 
have an effect on storing the data.

Also I need to transfer photographs stored as large objects in a Microsoft 
Aceess 2000 database to the photographs table in Postgres . I cant figure 
out how to manipulate BLOBs from my application that is why I am trying out 
the bytea type at present.

Can anyone please help me regarding this?



Thanks in Advance

Nisha



_________________________________________________________________
Express yourself with cool emoticons http://messenger.msn.co.uk




Message-ID: <F158S2LfFSVE5xc7G2f00009cd3@hotmail.com>
Permalink:  ../F158S2LfFSVE5xc7G2f00009cd3@hotmail.com/
Also on:    postgresql.org/message-id/F158S2LfFSVE5xc7G2f00009cd3@hotmail.com

 · 

reply

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: nishatreesa@hotmail.com
  Subject: Re: Size limit for bytea type?
  In-Reply-To: <F158S2LfFSVE5xc7G2f00009cd3@hotmail.com>
  References: <F158S2LfFSVE5xc7G2f00009cd3@hotmail.com>

* 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