How to save a image file in a postgres data field.

Поиск
Список
Период
Сортировка
От richard terry
Тема How to save a image file in a postgres data field.
Дата
Msg-id 200808290726.06424.rterry@gnumed.net
обсуждение исходный текст
Список pgsql-novice
I want to be able to save an image, say myimage.png, into the database, and
having difficulty with understanding the postgres documentation.

The nearest I can figure is that there is a field called bytea ?? is this the
correct one.

If so, I wondered if anyone could give me a simple line of sql code which
would demonstrate how to do this.

Regards and thanks in advance.

Richard

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

Предыдущее
От: Bruce Hyatt
Дата:
Сообщение: Re: Triggers and Function.
Следующее
От: "Obe, Regina"
Дата:
Сообщение: Re: How to save a image file in a postgres data field.