| От | Dag Gullberg |
|---|---|
| Тема | question about images |
| Дата | |
| Msg-id | 03072415173503.01341@hemma обсуждение исходный текст |
| Ответы |
Re: question about images
|
| Список | pgsql-novice |
Hi all,
I have a problem with understanding how BLOB's
work in postgres. It seems as thoug I have to use
COPY BINARY table (imagefield) FROM 'absolutepath+imagename' ;
this ofcourse give the error
ERROR: COPY BINARY: file signature not recognized
so I have new went througt some doc's and found that
some header has to be appended containing some info about
number of instances and flags etc.
NOW: Is there anyway I can deal with loading images from
files into my database from within a pgplsql function, or do I have
to hack some C code AND install c-functions as well, or even worse 8)
do some scripting outside the database.... ???
Thankfull for any input,
regards,
DagG
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера