Re: images

From: "Zorlac" <zorlac(at)planetibiz(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: images
Date: 2000-08-30 20:49:15
Message-ID: frer5.15821$pu4.1134969@typhoon.ne.mediaone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)x(dot)com> wrote in message
news:imo95(dot)61086$ef6(dot)751553(at)news1(dot)rdc1(dot)ab(dot)home(dot)com(dot)(dot)(dot)
> 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(at)cuug(dot)ab(dot)ca
> http://www.cuug.ab.ca/~dorfsmay

In response to

  • images at 2000-07-07 17:23:26 from Yves Dorfsman

Browse pgsql-general by date

  From Date Subject
Next Message Adam Lang 2000-08-30 20:50:04 uninstall
Previous Message Adam Lang 2000-08-30 20:46:54 Re: Install from source