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

storing binary data

From: Cristóvão Dalla Costa <cbraga(at)bsi(dot)com(dot)br>
To: <pgsql-interfaces(at)postgresql(dot)org>
Subject: storing binary data
Date: 2001-11-13 23:10:06
Message-ID: 006701c16c98$55cc3680$02ffa8c0@NuclearPlant (view raw or flat)
Thread:
Lists: pgsql-interfaces
Hi,

I'm using libpq to interface my program to postgresql, and I need to store
some binary data (around 30-40 bytes per element). I'm not sure of the best
way to do so, since blobs seem awkward. How would you do it? How would you
insert it in a text field?

Thanks all,

Cristovao


Responses

pgsql-interfaces by date

Next:From: Michael LamDate: 2001-11-13 23:31:39
Subject: Re: storing binary data
Previous:From: tracy yeeDate: 2001-11-09 19:40:55
Subject: oracle and postgress

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