Re: binary data storage

Поиск
Список
Период
Сортировка
Искать
От
Neil Conway
Тема
Re: binary data storage
Дата
Msg-id
20020404113406.765b985e.nconway@klamath.dyndns.org
Ответ на
Re: binary data storage (Marin Dimitrov)
Список
Дерево обсуждения
binary data storage Devrim GUNDUZ <devrim@oper.metu.edu.tr>
On Thu, 4 Apr 2002 12:36:42 +0300
"Marin Dimitrov"  wrote:
> 
> ----- Original Message -----
> From: "Devrim GUNDUZ"
> 
> >
> > Hi,
> >
> > Let's say we have 100 MB of binary file (for example, a zip file). How
> > could we store this file in PostgreSQL? Which datatype could we use and
> > how do we insert it?
> >
> 
> search for "large objects" in the Programmer's Guide

You could also use a column with datatype "bytea", and the libpq
function PQescapeBytea().

Cheers,

Neil

-- 
Neil Conway 
PGP Key ID: DB3C29FC
В списке pgsql-general по дате отправления
От: Doug McNaught
Дата:
Сообщение: Re: binary data storage
От: Jean-Luc Lachance
Дата:
FAQ