storing files in postgres

Поиск
Список
Период
Сортировка
От Bob Powell
Тема storing files in postgres
Дата
Msg-id s24be720.093@grpwise.hotchkiss.org
обсуждение исходный текст
Ответы Re: storing files in postgres  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-general
Hello everyone,
 
I have created a table as follows:
 
CREATE TABLE document (
image_id int,
image bytea
);
 
I want to insert a complete file, let's say an open office document into this table.  Anyone know how I would doe this?
 
Then if I can get the document into the image field, how would I retrieve it to display it in my HTML document?  
 
Thanks in advance.

Bob Powell
Database Administrator

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

Предыдущее
От: Patrick.FICHE@AQSACOM.COM
Дата:
Сообщение: Re: Temporary Tables
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: Days in month query