Re: storing binary data

Поиск
Список
Период
Сортировка
От Michael Lam
Тема Re: storing binary data
Дата
Msg-id C5F1D2493CDBD14F83AD2DCA9DB882ED1371E8@xch05ykf.rim.net
обсуждение исходный текст
Ответ на storing binary data  (Cristóvão Dalla Costa <cbraga@bsi.com.br>)
Ответы Re: storing binary data
Список pgsql-interfaces
I've seen people converting binary data into base64 or uuencode first before
storing into text files.  Maybe you can do the same and store in a varchar
field if you like too? Hm...

-----Original Message-----
From: Cristovao Dalla Costa [mailto:cbraga@bsi.com.br]
Sent: Tuesday, November 13, 2001 6:10 PM
To: pgsql-interfaces@postgresql.org
Subject: [INTERFACES] storing binary data


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


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Cristóvão Dalla Costa
Дата:
Сообщение: storing binary data
Следующее
От: Joe Conway
Дата:
Сообщение: Re: storing binary data