Re: [SQL] Blobs

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [SQL] Blobs
Дата
Msg-id Pine.LNX.4.21.0001242123140.525-100000@localhost.localdomain
обсуждение исходный текст
Ответ на Blobs  ("Neil Cameron" <n.cameron@blueice.co.uk>)
Список pgsql-sql
You have to use "large objects". See the programmer's guide.

On 2000-01-24, Neil Cameron mentioned:

> Hi Folks
> 
> I want to store Word docs etc into the mighty Postgres. I think this means using blobs. 
> 
> 1.Does anybody know the SQL to create say a table with a field called docs to store them in. I don't know what the
datatype is.
 
> 
>     ie something like CREATE TABLE documents docs (blob datatype ??)
> 
> 2. Is there some special syntax to get the blob back. ie SELECT (special syntax)
> 
> Thanks
> 
> Neil@blueice
> 
> 

-- 
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden




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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [SQL] Backend crash
Следующее
От: Tom Lane
Дата:
Сообщение: DISTINCT ON: speak now or forever hold your peace