Unix Technical Forum

Image in postgresql 7.3

This is a discussion on Image in postgresql 7.3 within the Pgsql General forums, part of the PostgreSQL category; --> Please help me!!! I'm with problems to record images in database in field type bytea. I'm using visual basic ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql General

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-09-2008, 07:55 AM
Peerri
 
Posts: n/a
Default Image in postgresql 7.3


Please help me!!!
I'm with problems to record images in database in field type bytea.
I'm using visual basic 6.0 and object ado stream to convert binary.

They say me if another way exists to record the images in the data base.

Thanks!!
[:-)
--
View this message in context: http://www.nabble.com/Image-in-postg....html#a2446227
Sent from the PostgreSQL - general forum at Nabble.com.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-09-2008, 07:55 AM
Berend Tober
 
Posts: n/a
Default Re: Image in postgresql 7.3

Peerri (sent by Nabble.com) wrote:


> I'm with problems to record images in database in field type bytea.
> I'm using visual basic 6.0 and object ado stream to convert binary.
>
> They say me if another way exists to record the images in the data base.


This may not be for the faint of heart, but what I do is uuencode images
and store them in TEXT type columns. I started doing this because (and
here my memory may not be serving me with clear fidelity) I got the
impression from documentation when I first started using PG several
years ago that there was some "gotcha" related to BLOBs or BYTEA type
columns in the pg_dump/pg_restore process. This approach has worked for
my needs (mugshots and scanned written signatures), and so I never
revisited the implementation.

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:40 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com