Re: Insert images through ASP

Поиск
Список
Период
Сортировка
От Doug McNaught
Тема Re: Insert images through ASP
Дата
Msg-id 87oem9cr7n.fsf@asmodeus.mcnaught.org
обсуждение исходный текст
Ответ на Re: Insert images through ASP  ("Dylan Milks" <DMilks@greenridge.ca>)
Список pgsql-general
"Dylan Milks" <DMilks@greenridge.ca> writes:

> What I want to do is upload an image from an ASP page and insert it
> into a table. I don't want to store the image on the file system,
> even if it's only temporary.

Well, if you want to use bytea, you'll need to load the whole image
into memory, bytea-encode it, and insert into the table.  There's no
way to "stream" a value into a bytea column.

-Doug

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

Предыдущее
От: "Markus Wollny"
Дата:
Сообщение: Re: tsearch2, ispell, utf-8 and german special characters
Следующее
От: "Wang, Mary Y"
Дата:
Сообщение: SQL - display different data