Re: images

Поиск
Список
Период
Сортировка
От Zorlac
Тема Re: images
Дата
Msg-id frer5.15821$pu4.1134969@typhoon.ne.mediaone.net
обсуждение исходный текст
Ответ на images  (Yves Dorfsman <x@x.com>)
Список pgsql-general
You sure can by using BLOBS.
You can do that by reading the perl module docs for Pg;
Read the section on large objects.

From experience, I would definitely recommend that you store the reference
to the file, like a URL or something. That is defiantly the faster way.
Loading things off the file system instead of the database will always be
faster. The only thing you run up against in that case is making sure that
your files and db references remain consistent. But that's not too big of a
deal.



Yves Dorfsman <x@x.com> wrote in message
news:imo95.61086$ef6.751553@news1.rdc1.ab.home.com...
> Is it possible to save images in postgreSQL ??
>
> If yes, and in the case of a web site using both postgrSQL and mod_perl,
> is it preferable (faster) to save images in the database, or to simply
> save a reference to the images in the database, but load the image from
> the filesystem ???
>
>
> Yves.
> ----
> Yves Dorfsman                                        dorfsmay@cuug.ab.ca
>                                          http://www.cuug.ab.ca/~dorfsmay



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

Предыдущее
От: Michael Labhard
Дата:
Сообщение: Error building JDBC Driver
Следующее
От: Zeljko Trogrlic
Дата:
Сообщение: Re: JDBC