You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-user@db.apache.org by Jakub Piechnik <pi...@wp.pl> on 2005/10/26 16:45:36 UTC

Binary data using Torque

Hello

I wonder if it's possible to handle binary data with Torque. I mean that 
for example there is a picture file (gif) and I want to put it in my 
database (Postgresql). Is it possible to do that using Torque and if so 
- how should I try to use it

Regards
Jakub Piechnik


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Re: Binary data using Torque

Posted by Thomas Fischer <tf...@apache.org>.
Yes, its possible. Postgresql has the bytea data type for storing binary 
data. Use the Torque type BINARY for it.

    Thomas

On Wed, 26 Oct 2005, Jakub Piechnik wrote:

> Hello
>
> I wonder if it's possible to handle binary data with Torque. I mean that for 
> example there is a picture file (gif) and I want to put it in my database 
> (Postgresql). Is it possible to do that using Torque and if so - how should I 
> try to use it
>
> Regards
> Jakub Piechnik
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org