Hi there
I wish to insert a JPG file into a bytea field.
When the file specified is plain TXT, everything works 100%.
However, if I try with JPG, it doesn't the record contains garbage.
Does anybody have an idea, or have sample code I can look at?
Thanks,
Michael
INSERT a file into a bytea datatype
Moderators: gto, cipto_kh, EgonHugeist, olehs
-
- Fresh Boarder
- Posts: 3
- Joined: 16.09.2006, 17:05
- Location: Encarnación, Paraguay
- Contact:
-
- Fresh Boarder
- Posts: 17
- Joined: 28.05.2007, 14:31